Competitions

# Week 1: November 2 – 8. Introduction to C language. Part 1

# Divide the apples - 1

**n** schoolchildren divide **k** apples evenly, the residue remains in the basket. How many apples will get each child?

#### Input

Two positive integers **n** and **k**, not greater than **1500** - rarely happens in school more pupils, and too many apples to eat bad ...

#### Output

Print the number of apples that goes to each child.

Input example #1

3 14

Output example #1

4

Input example #2

10 100

Output example #2

10