N = input() mod3 = 0 mod5 = 0 for i in range(len(N)): mod3 = (mod3*4 + int(N[i]))%3 mod5 = (mod5*4 + int(N[i]))%5 isFizz = mod3==0 isBuzz = mod5==0 if isFizz and isBuzz: print('FizzBuzz') elif isFizz: print('Fizz') elif isBuzz: print('Buzz') else: print(N)