Back to tasks
Falling digits
BeginnerPython for kids 路 Lesson 31: Module 2 summary: Decisions
Problem Statement
Read a two-digit number (10..99). Print TAK if its first digit is greater than its second (e.g. 73), otherwise NIE. (TAK is Polish for yes, NIE for no.)
Input Format
One whole number n (10 <= n <= 99).
Output Format
TAK or NIE, in capital letters (Polish for yes and no - like in Polish olympiads).
Examples
Example 1
Input
73
Output
TAK
Example 2
Input
37
Output
NIE