import java.util.*; import java.lang.*; import java.math.*; public class prog { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String line = sc.nextLine(); BigInteger num = new BigInteger(line,4); BigInteger rem5 = num.remainder(new BigInteger("5")); BigInteger rem3 = num.remainder(new BigInteger("3")); boolean div5 = BigInteger.ZERO.equals(rem5); boolean div3 = BigInteger.ZERO.equals(rem3); if (div5 && div3){ System.out.println("FizzBuzz"); }else if (div5){ System.out.println("Buzz"); }else if (div3){ System.out.println("Fizz"); }else{ System.out.println(line); } } }