fork download
  1. n=int(input())
  2. if n==0:
  3. print('none')
  4. else:
  5. for i in range(1,n):
  6. if (i%7)!=0:
  7. print(i,end=' ')
  8. print()
Success #stdin #stdout 0.04s 9256KB
stdin
20
stdout
1 2 3 4 5 6 8 9 10 11 12 13 15 16 17 18 19