#P39. 练8.4带余除法

练8.4带余除法

Description

Given the dividend and divisor, calculate the integer quotient and remainder. Use the default integer division and modulo operations without any special handling of the results.

Input Format

Input consists of a single line with two integers, the dividend and divisor (divisor is non-zero), separated by a space.

Output Format

Output a single line with two integers, the integer quotient and remainder, separated by a space.

Sample

10 3
3 1