#PCBSAU0000003. Thương và số dư (Quotient and Remainder)

Thương và số dư (Quotient and Remainder)

Quotient and Remainder

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

Given a non-negative integer aa and a positive integer bb, find the integer quotient and remainder when dividing aa by $b.

Input

One line containing integers a,ba,b.

Output

Print a//ba//b and a%ba\%b separated by one space.

Subtask

  • Subtask 1 — 100 points: 0≤a≤1090\le a\le10^9; 1≤b≤1061\le b\le10^6.

Example

Input

17 5

Output

3 2

Explanation

For a=17,b=5a=17,b=5, the equality 17=5×3+217=5\times3+2 gives quotient 33 and remainder 22, hence the output 3 2.