#PCBSAU0000013. Đổi centimet thành mét và centimet (Centimetres to Metres and Centimetres)
Đổi centimet thành mét và centimet (Centimetres to Metres and Centimetres)
Centimetres to Metres and Centimetres
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Convert centimetres into whole metres and remaining centimetres. One metre equals 100 centimetres.
Input
One line with a non-negative integer measured in centimetres.
Output
Print the number of whole metres and the remaining centimetres, separated by one space.
Subtask
- Subtask 1 — 100 points: .
Example
Input
253
Output
2 53
Explanation
: integer division gives 2 metres and modulo gives 53 centimetres.