fork(2) download
  1. n = int(input())
  2. if n < 4:
  3. print("NIE")
  4. else:
  5. for i in range(0,n+1,2):
  6. print(i, end=" ")
  7. for i in range(1, n+1, 2):
  8. if i <= n-2:
  9. print(i, end=" ")
  10. else:
  11. print(i)
Success #stdin #stdout 0.02s 9216KB
stdin
Standard input is empty
stdout
NIE