N = int(input()) i, f, b = map(len, ['.', '...', '.....']) for n in range(i, N+i): S = '' if n%f < i: S += 'Fizz' if n%b < i: S += 'Buzz' if not S: S = n print(S)