N=int(input()) print("Yes") print(*[i+1 for i in range(N)])