# IF Mini Project — Your ticket, your price
# if / elif / else + and operator — two decisions, one price

# ─────────────────────────────────────────────
# Ticket Pricing System
# ─────────────────────────────────────────────

age = int(input("Enter your age: "))
window = input("Window seat? (y/n): ")

if age < 12:
    price = 5
    category = "Child"
elif age >= 65:
    price = 8
    category = "Senior"
else:
    price = 12
    category = "Adult"

if window == "y" and age >= 12:
    price += 3

print(f"{category} ticket — {price} EUR")

# ─────────────────────────────────────────────
# Test it
# ─────────────────────────────────────────────

# Age: 8,  window: y  -->  Child ticket — 5 EUR
# Age: 30, window: n  -->  Adult ticket — 12 EUR
# Age: 30, window: y  -->  Adult ticket — 15 EUR
# Age: 70, window: y  -->  Senior ticket — 8 EUR

# ─────────────────────────────────────────────
# Go further
# ─────────────────────────────────────────────

# Add a student category — age 12 to 25, 8 EUR
# Add a weekend surcharge — ask the user if it's a weekend, +2 EUR for adults
# Print a full ticket summary — category, seat type, and final price on separate lines
