N=int(input()) ans=[] for i in range(1,N+1): ans.append(i) print("Yes") print(*ans)