#coding: utf-8 def main(): n4 = input() print(fizzbuzz(four2ten(n4)) if fizzbuzz(four2ten(n4)) else n4) def four2ten(n4): return int(n4,4) def fizzbuzz(i): if i % 15 == 0: return 'FizzBuzz' elif i % 3 == 0: return 'Fizz' elif i % 5 == 0: return 'Buzz' else: return None if __name__ == '__main__': main()