N = input() for i in N: if i == 0: pass elif i//3 == 0: print("Fizz") elif i//5 == 0: print("Buzz") else: print(i)