def n_decimal_to_10(x): out = 0 for i in range(len(str(x))): out += int(x[i])*(4**(len(str(x))-i-1)) return out x = input() x4 = n_decimal_to_10(x) if (x4 % 3) == 0: if(x4 % 5) == 0: print ("FizzBuzz") else: print("Fizz") elif (x4 % 5) == 0: print ("Buzz") else: print(x)