datas = input(); nagasa = len(datas); result=0; mongon=""; four = 4 ** nagasa; for inp in range(0,nagasa): four = int(four / 4); result = result + int(datas[inp]) *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);