Олимпиадный тренинг

Задача 37589. Integer division and remainder


Задача

Темы: Целые числа
Write a program that, given two numbers a and b, displays the result of integer division and the remainder, in the given format (see examples)

The input of the program is two numbers: a and b
You need to output two lines:
in the first line - the result of integer division of a by b
in the second line - the remainder of dividing a by b
See the output form in the example of input and output values

Example of input and output data
Input
15 6
Imprint
15 div 6 = 2
15 mod 6 = 3