Divide the apples - 2#4717

Divide the apples - 2

1 second
128 megabytes
Very easy (≈850)

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

Input

Two positive integers and not greater than — rarely are there more pupils in school, 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