Back to tasks
The cinema
BeginnerPython for kids 路 Lesson 26: An if inside an if
Problem Statement
You can see the film from age 12, and a ticket costs 20 zloty. Read the age and the amount of money. For people under 12 print ZA MALO LAT (too young). For older ones: if they have at least 20 zloty, print SEANS (the show), and if less - ZA MALO PIENIEDZY (not enough money).
Input Format
Two whole numbers: the age (1..100) and the money in zloty (0..1000), each on its own line.
Output Format
SEANS, ZA MALO PIENIEDZY or ZA MALO LAT.
Examples
Example 1
Input
13 25
Output
SEANS
Example 2
Input
13 15
Output
ZA MALO PIENIEDZY
Example 3
Input
10 50
Output
ZA MALO LAT