The program receives a natural number as input, which represents a weight in grams. Your task is to output the whole number of kilograms that this weight corresponds to.
A natural number , m \leq 10^{12}.
The number of complete kilograms in the given weight.
Example 1