Write a program that, given the two numbers
a
and
b
, outputs the result of integer division and the remainder in the given format (see examples).
Input format
a
and
b
are inputs in the line.
Output format
In the first line, output the result of integer division
a
and
b.
in the second line, outputs remainder of the division
a
on
b.
Format of output is given in example.
Example
N |
Input |
Output |
1 |
15 6 |
15/6=2
15%6=3 |