# Kilograms and grams

Execution time limit is 1 second

Runtime memory usage limit is 64 megabytes

The program receives a natural number m 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 m that does not exceed `10^12`

.

## Output

The solution to the problem.

## Examples

Input #1

Answer #1

Submissions 4K

Acceptance rate 69%