import sys def main(): innum = input() inlen= len(innum) outsum = 0 for k,i in enumerate(innum): outsum += int(i) * 4 ** (inlen-1-k) # print(outlist) outstr = "" if outsum%3==0: outstr += "Fizz" if outsum%5==0: outstr += "Buzz" if outstr=="": outstr = innum print(outstr) return outstr if __name__ == '__main__': main()