b=input();a=int(b,4) print('FizzBuzz'if a%3%5==0else 'Fizz'if a%3==0else 'Buzz'if a%5==0else b)