Back to tasks
A cinema ticket
BeginnerPython for kids 路 Lesson 22: if and else - one of two
Problem Statement
A ticket for someone under 18 costs 10 zloty, and for older people - 20 zloty. Read the age and print the ticket price.
Input Format
One whole number - the age (1 <= age <= 100).
Output Format
One number - the result.
Examples
Example 1
Input
11
Output
10
Example 2
Input
18
Output
20