小红的异或构造

  • 就可以满足条件。
def solve(testcase):
    print(*[i for i in range(1, II() + 1)])

for testcase in range(1):
    solve(testcase)