Run id: 78467

------Input------
5
------Answer-----
1 1 1 1 1 1 2 2 2 1 1 2 3 2 1 1 2 2 2 1 1 1 1 1 1
------Your output-----
Enter the value of n (2<=n<=9): 1 2 3 4 5 16 17 22 19 6 15 23 0 20 7 14 0 0 21 8 13 12 11 10 9