age = int(input("Input age: ")) # Do not change this line
ticket_price = float(30)
if age <= 5 :
    print(ticket_price - ticket_price)
elif 65 <= age :
    print(ticket_price / 2)
else :
    print(ticket_price)
