e-olymp
Competitions

PP2. Week 1: March 1 - 7

Quotient and remainder

Two positive integers a and b are given. Print the quotient and the remainder of dividing a by b.

Input

Two positive integers a and b.

Output

Print the quotient and the remainder of dividing a by b.

Time limit 1 second
Memory limit 128 MiB
Input example #1
27 10
Output example #1
2 7
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"