CSES - Shared codeLink to this code: https://cses.fi/paste/e98d5656b5a6ddc0ab8dc/
#5
n=int(input())
if n==1:
print('1')
elif n<=3:
print("NO SOLUTION")
else:
for i in range(2,n+1,2):
print(i,end=" ")
for i in range(1,n+1,2):
print(i,end=" ")