LearnPy Hub
← If…Else problems
Medium

Ticket Price

A cinema charges 0 Tk for children under 3, 150 Tk for ages 3–12, 300 Tk for ages 13–59 and 200 Tk for 60 and over. Read an age and print the price.

Input

One integer.

Output

The price.

Sample 1

Input
2
Output
0

Sample 2

Input
3
Output
150
solution.py
Output appears here
Ticket Price · Python practice problem · LearnPy Hub