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.
You are given the number of seconds (1 \leq n \leq 1000000) the generator has been running after being switched on.
Output the result of the generator for the given second.
Example 1