age = input("enter the age : ")
age = int(age)
if 1<age<3:
    print("Ticket is free")
elif 4<age<=8:
    print("ticket price is 150")
elif 9<age<=15:
    print("ticket price is 250")
else:
    print('ticket price is 358')