s=input();n=m=0;p=1 for t in map(int,s[::-1]):n=(n+t*p)%3;m=(m+t*p)%5;p*=4 print('Fizz'*(n<1)+'Buzz'*(m<1)or s)