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 k1 = 0; int k2 = 0; for(int i = 0; i < N.length(); i++) { int t = (int)(N.charAt(i) - '0') ; k1 += (4 * k1 + t) % 3; k2 += (4 * k2 + t) % 5; } if(k1 % 3 == 0) { if(k2 % 5 == 0) { System.out.println("FizzBuzz"); }else { System.out.println("Fizz"); } }else if(k2 % 5 == 0) { System.out.println("Buzz"); }else { System.out.println(N); } } }