import sys num = int(sys.stdin.readline()) i = 1 while i <= num: mod3 = i%3 mod5 = i%5 if mod3 == 0 and mod5 == 0 : tex = "FizzBuss" elif mod3 != 0 and mod5 == 0 : tex = "Buzz" elif mod3 == 0 and mod5 != 0 : tex = "Fizz" elif mod3 != 0 and mod5 != 0: tex = str(i) print(tex) i += 1 if i > 100: break