N = int(input()) lista = ['a','a','a','a','a'] listb = ['b','b','b'] A = len(lista) B = len(listb) s = '' for i in range(N): if s == '': s = 'ok' continue s = '' if i%B == 0: s = 'Fizz' if i%A == 0: s = s+'Buzz' if s == '': s = i print(s)