Back to tasks
An even sum
BeginnerPython for kids 路 Lesson 24: Divisibility - % in conditions
Problem Statement
Read two numbers a and b. Print TAK if their sum is even, 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 5
Output
TAK
Example 2
Input
3 4
Output
NIE