P27778 [洛谷] Division with Remainder
普及-
题目描述

Problem Description

Given the dividend and the divisor, find the integer quotient and the remainder. Use the default division and modulo operations for this problem, without any special processing of the results.

Input Format

A single line containing two integers, the dividend and the divisor (the divisor is non-zero), separated by a single space.

Output Format

A single line containing two integers, the integer quotient and the remainder, separated by a single space.

Sample Input and Output

Input Sample #1

10 3

Output Sample #1

3 1

Input Sample #2

20 4

Output Sample #2

5 0

Notes

For $100\%$ of the data, $0 \le a \le 100$, $1 \le b \le 100$.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
10 3
样例输出
3 1