n=int(input()) Ans=list(range(1,n+1))*2 print("!",*Ans)