LearnPy Hub
← Operators problems
Easy

Floor Division Rounds Down

Read two integers a and b (b ≠ 0). Print a // b and a % b on one line, separated by a space.

Input

Two integers.

Output

One line.

Sample 1

Input
17
5
Output
3 2

Sample 2

Input
-17
5
Output
-4 3
solution.py
Output appears here
Hints
Floor Division Rounds Down · Python practice problem · LearnPy Hub