# -*- coding: utf-8 -*- from queue import Queue import sys import subprocess import json import time import math import re #import sqlite3 import random #import numpy as np #from sklearn.datasets import fetch_mldata #from statistics import mean, median, variance, stdev #from chainer import cuda, Variable, FunctionSet, optimizers #import chainer.functions as F def FizzBuzz(str1): v = int(str1, 4) res = "" if (v % 3 == 0): res += "Fizz" if (v % 5 == 0): res += "Buzz" if (res == ""): return str1 return res str1 = input() print(FizzBuzz(str1))