Divide the apples - 2#8

Divide the apples - 2

1 second
128 megabytes
Very easy (≈850)

schoolchildren divide apples evenly, the residue remains in the basket. How many apples remains in the basket?

Input

Two integers and not greater than — rarely happens in school more pupils, and where to find such a basket?

Output

Print the number of apples in the basket.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading