Write a program that reads an integer number and a natural number , with , and prints the integer division and the remainder of divided by .
Remember that, by definition, i must be the only integer numbers such that and .
Input consists of and , with .
Print a line with the integer division and the remainder of divided by , separated by a space.
Depending on the programming language that you use, maybe you will need to modify a bit your program for the exercise problem://problemsjutge.org:problems/p1/jpetit/divmod.pbm to make it properly work with negative ’s.
Input
32 6
Output
5 2
Input
-32 6
Output
-6 4
Input
-2147483648 10
Output
-214748365 2