n = input() n10 = 0 for i, c in enumerate(n[::-1]): n10 += int(c)*(4**i) print("Fizz"*(n10%3==0)+"Buzz"*(n10%5==0) or n)