Back to tasks
Exactly one positive
BeginnerPython for kids 路 Lesson 25: and, or, not - joining conditions
Problem Statement
Read two numbers a and b. Print TAK if exactly one of them is 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
5 -3
Output
TAK
Example 2
Input
5 3
Output
NIE