for i in range(int(input())): if (i%10==0) and (i%8==0): print(ikisugi) elif (i%10==0): print(sugi) else: print(i//3)