Interesting sequence#11397

Interesting sequence

1 saniye
128 megabayt
Orta

Ali enjoys creating interesting sequences in his spare time. This time, he took an empty sequence and performed operations on it.

In the -th operation:

  1. The number is appended to the end of the sequence .

  2. Then, the sequence is reversed.

At the end, Ali forgot the sequence and is now very worried. Help him recover the sequence.

\InputFileThe input contains a single integer (1 \le n \le 10^5).

\OutputFilePrint the resulting sequence after all operations. Output the elements in one line, separated by spaces.

\NoteLet's look at the process for the first test:

Örnekler

Örnek 1

Loading
Loading

Örnek 2

Loading
Loading

Örnek 3

Loading
Loading