datas = input(); nagasa = len(datas); zyo =nagasa -1; result=0; mongon=""; for inp in range(0,nagasa): if inp < zyo: four =int(datas[inp]) *( 4 ** (zyo-inp)); else: four =int(datas[inp]); result = result + four; if result % 3 == 0: mongon = mongon + "Fizz"; if result % 5== 0: mongon = mongon + "Buzz"; if result % 3 == 0 or result % 5== 0: print(mongon); else: print(datas);