s = input() rem = 0 for c in s: rem = (rem*4 + int(c)) % 15 if rem == 0: print("FizzBuzz") elif rem%3 == 0: print("Fizz") elif rem%5 == 0: print("Buzz") else: print(s)