Competitions

# Week 1 Introduction Part 1

# Divide the apples - 2

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

## Input data

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

## Output data

Print the number of apples in the basket.

## Examples

Input example #1

3 14

Output example #1

2

Input example #2

10 100

Output example #2

0