s=input();n=sum(int(s[~i])*pow(4,i)for i in range(len(s)));print('Fizz'*(n%3<1)+'Buzz'*(n%5<1)or s)