Time limit
2s
Memory limit
128 MB
A chariot can move any number of cells horizontally or vertically.
You must place N chariots on an N x N board while satisfying both conditions below.
Write a program that outputs any placement satisfying the conditions.
The first line contains an integer N (3 <= N <= 100,000).
Print N lines. On the i-th line, print the column number where the chariot in row i is placed.
If more than one placement satisfies the conditions, print any one of them. If no placement is possible, print only -1 on the first line.