AlgoBazaAlgoBaza
Back to tasks

Ending in zero or five

Beginner

Python for kids 路 Lesson 24: Divisibility - % in conditions

Problem Statement

Read a number n (0 or more). Print TAK if it divides by 5 with no remainder, otherwise NIE. (TAK is Polish for yes, NIE for no.)

Input Format

One whole number n (0 <= n <= 1000).

Output Format

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

Examples
Example 1

Input

35

Output

TAK
Example 2

Input

36

Output

NIE