n = input() s = 0 for i in range(len(n)): s += int(n[i]) * (4**(len(n)-i)) if s % 3 == 0 and s % 5 == 0: print("FizzBuzz") elif s % 3==0: print("Fizz") elif s % 5 == 0: print("Buzz") else: print(n)