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