AlgoBazaAlgoBaza
Back to tasks

Equal teams

Beginner

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

Problem Statement

Read the number of children, then the number of teams. If the children can be split into equal teams, print how many people will be in each. Otherwise print NIE. (TAK is Polish for yes, NIE for no.)

Input Format

Two whole numbers: children (1..1000) and teams (1..100), each on its own line.

Output Format

The number of people in a team or NIE.

Examples
Example 1

Input

12
4

Output

3
Example 2

Input

14
4

Output

NIE