Petryk and Pies 2#8839

Petryk and Pies 2

1 second
64 megabytes
Very easy

Based on a scenario similar to the previous task, your goal is to determine how much money Petryk has remaining.

Input

You will receive two natural numbers, and , provided on a single line and separated by a space.

Output

Print the amount of money Petryk has left after his enthusiastic pie purchase.

Examples

Example 1

Loading
Loading