Back to tasks
Both positive
BeginnerPython for kids 路 Lesson 25: and, or, not - joining conditions
Problem Statement
Read two numbers a and b. Print TAK if both are greater than zero, otherwise NIE. (TAK is Polish for yes, NIE for no.)
Input Format
Two whole numbers a and b, each on its own line (-1000 <= a, b <= 1000).
Output Format
TAK or NIE, in capital letters (Polish for yes and no - like in Polish olympiads).
Examples
Example 1
Input
3 8
Output
TAK
Example 2
Input
3 0
Output
NIE