Kilograms and grams#9925

Kilograms and grams

1 second
64 megabytes
Very easy

The program receives a natural number as input, which represents a weight in grams. Your task is to output, on a single line and separated by a space, the equivalent weight in full kilograms and remaining grams.

Input

A natural number , 1 \le m \le 10^{12}.

Output

The solution to the problem.

Examples

Example 1

Loading
Loading