N, M = map(int, input().split()) print(N) for i in range(1, N+1): print(i)