AlgoBazaAlgoBaza
Back to tasks

The same word?

Beginner

Python for kids 路 Lesson 27: Comparing text

Problem Statement

Read two words. Print TAK if they are the same, otherwise NIE. (TAK is Polish for yes, NIE for no.)

Input Format

Two words, each on its own line (small letters only, no spaces).

Output Format

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

Examples
Example 1

Input

kot
kot

Output

TAK
Example 2

Input

kot
kod

Output

NIE