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.
A natural number , 1 \le m \le 10^{12}.
The solution to the problem.
Example 1