Back to tasks
Pool prices
BeginnerPython for kids 路 Lesson 23: elif - many options
Problem Statement
A pool ticket: children under 4 - 0 zloty, under 18 - 10 zloty, under 65 - 20 zloty, and older people - 12 zloty. Read the age and print the price.
Input Format
One whole number - the age (0 <= age <= 110).
Output Format
One number - the result.
Examples
Example 1
Input
2
Output
0
Example 2
Input
18
Output
20
Example 3
Input
70
Output
12