AlgoBazaAlgoBaza
Back to tasks

No remainder or the remainder

Beginner

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

Problem Statement

Read two numbers a and b. If a divides by b with no remainder, print OK. Otherwise print the remainder of a divided by b.

Input Format

Two whole numbers a and b, each on its own line (1 <= a, b <= 1000).

Output Format

OK or a number - the remainder.

Examples
Example 1

Input

12
4

Output

OK
Example 2

Input

14
4

Output

2