import java.util.*; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); char[] arr = sc.next().toCharArray(); int mod3 = 0; int mod5 = 0; for (char c : arr) { mod3 = (mod3 * 4 + c - '0') % 3; mod5 = (mod5 * 4 + c - '0') % 5; } if (mod3 == 0 && mod5 == 0) { System.out.println("FizzBuzz"); } else if (mod5 == 0) { System.out.println("Buzz"); } else if (mod3 == 0) { System.out.println("Fizz"); } else { System.out.println(arr); } } }