GNCHE-1#2614

GNCHE-1

1 second
64 megabytes
Very easy

GNCHE-1 is a sophisticated electronic device that outputs, every second, the next number in the sequence , , , , , , , , , , , . Due to the high cost of electronic components, you are tasked with developing an emulator for this device.

Input

You are given the number of seconds (1 \leq n \leq 1000000) the generator has been running after being switched on.

Output

Output the result of the generator for the given second.

Examples

Example 1

Loading
Loading