AlgoBazaAlgoBaza
Back to tasks

A leap year in one line

Beginner

Python for kids 路 Lesson 31: Module 2 summary: Decisions

Problem Statement

Read a year and print TAK if it is a leap year, otherwise NIE. This time write the whole condition in one if: divisible by 400 or (divisible by 4 and not divisible by 100). (TAK is Polish for yes, NIE for no.)

Input Format

One whole number - the year (1 <= year <= 3000).

Output Format

TAK or NIE, in capital letters (Polish for yes and no - like in Polish olympiads).

Examples
Example 1

Input

2000

Output

TAK
Example 2

Input

1900

Output

NIE
Example 3

Input

2024

Output

TAK