# -*- coding: utf-8 -*- """ No.593 4進FizzBuzz https://yukicoder.me/problems/no/593 """ import sys from sys import stdin input = stdin.readline def solve(s): ans = s n = int(s, 4) if n % 3 == 0: if n % 5 == 0: ans = 'FizzBuzz' else: ans = 'Fizz' elif n % 5 == 0: ans = 'Buzz' return ans def main(args): s = input().strip() ans = solve(s) print(ans) if __name__ == '__main__': main(sys.argv[1:])