import java.util.*; import java.math.*; class Main { static boolean divide(BigInteger b,int v){ return b.remainder(BigInteger.valueOf(v))==BigInteger.ZERO; } public static void main(String[] args) { Scanner scan = new Scanner(System.in); BigInteger b=new BigInteger(scan.next(),4); if(divide(b,15)) System.out.println("FizzBuzz"); else if(divide(b,3)) System.out.println("Fizz"); else if(divide(b,5)) System.out.println("Buzz"); else System.out.println(b.toString(4)); } }