import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String N = scan.next(); scan.close(); int k = Integer.parseInt(N, 4); if(k % 15 == 0) { System.out.println("FizzBuzz"); }else if(k % 3 == 0) { System.out.println("Fizz"); }else if(k % 5 == 0) { System.out.println("Buzz"); }else { System.out.println(N); } } }