N = input()[::-1] three = 0 five = 0 power3 = 1 power5 = 1 for i in range(len(N)): three += power3 * int(N[i]) three %= 3 five += power5 * int(N[i]) five %= 5 power3 *= 4 power3 %= 3 power5 *= 4 power5 %= 5 if three == 0 and five == 0: print('FizzBuzz') elif three == 0: print('Fizz') elif five == 0: print('Buzz') else: print(N[::-1])