#13Easy
Bytes to kilobytes
Time: 1 s · Memory: 256 MB
- Variables and types
Statement
A file size is given in bytes — . Find how many whole kilobytes it contains and how many bytes are left over. kilobyte bytes.
Input format
A single integer ().
Output format
A single line with two integers: the number of whole kilobytes and the number of leftover bytes.
Examples
Input
2048
Output
2 0
Input
3000
Output
2 952
Note
Integer division and remainder: in Python — n // 1024 and n % 1024; in C++ and Go, when both operands are integers, n / 1024 already gives the integer quotient. In Python n / 1024 returns a floating-point number (2.9296875), which is not what you need here.
