Back to tasks
School hours
BeginnerPython for kids 路 Lesson 25: and, or, not - joining conditions
Problem Statement
Lessons go from 8 to 15 o'clock (they start at 8, and at 16 they are over). Read an hour (0..23) and print TAK if there are lessons at that time, otherwise NIE. (TAK is Polish for yes, NIE for no.)
Input Format
One whole number - the hour (0 <= hour <= 23).
Output Format
TAK or NIE, in capital letters (Polish for yes and no - like in Polish olympiads).
Examples
Example 1
Input
8
Output
TAK
Example 2
Input
16
Output
NIE