CF733E Sleep in Class

Description

The academic year has just begun, but lessons and olympiads have already occupied all the free time. It is not a surprise that today Olga fell asleep on the Literature. She had a dream in which she was on a stairs. The stairs consists of $ n $ steps. The steps are numbered from bottom to top, it means that the lowest step has number $ 1 $ , and the highest step has number $ n $ . Above each of them there is a pointer with the direction (up or down) Olga should move from this step. As soon as Olga goes to the next step, the direction of the pointer (above the step she leaves) changes. It means that the direction "up" changes to "down", the direction "down" — to the direction "up". Olga always moves to the next step in the direction which is shown on the pointer above the step. If Olga moves beyond the stairs, she will fall and wake up. Moving beyond the stairs is a moving down from the first step or moving up from the last one (it means the $ n $ -th) step. In one second Olga moves one step up or down according to the direction of the pointer which is located above the step on which Olga had been at the beginning of the second. For each step find the duration of the dream if Olga was at this step at the beginning of the dream. Olga's fall also takes one second, so if she was on the first step and went down, she would wake up in the next second.

Input Format

The first line contains single integer $ n $ ( $ 1

Output Format

Print $ n $ numbers, the $ i $ -th of which is equal either to the duration of Olga's dream or to $ -1 $ if Olga never goes beyond the stairs, if in the beginning of sleep she was on the $ i $ -th step.