AlgoBazaAlgoBaza
Back to tasks

Sharing candies

Beginner

Python for kids 路 Lesson 17: input() - reading a number

Problem Statement

Read the number of candies, and on the second line the number of children. Print how many each child gets, and on the second line - how many candies are left.

Input Format

Two whole numbers: the number of candies (0..1000) and the number of children (1..100), each on its own line.

Output Format

Exactly the text from the example.

Examples
Example 1

Input

23
4

Output

5
3