import java.io.*; import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(); int value = 0; char[] input = sc.next().toCharArray(); for (char c : input) { value *= 4; value += c - '0'; value %= 15; } if (value == 0) { System.out.println("FizzBuzz"); } else if (value % 3 == 0) { System.out.println("Fizz"); } else if (value % 5 == 0) { System.out.println("Buzz"); } else { System.out.println(input); } } } class Scanner { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(""); public Scanner() throws Exception { } public int nextInt() throws Exception { return Integer.parseInt(next()); } public long nextLong() throws Exception { return Long.parseLong(next()); } public double nextDouble() throws Exception { return Double.parseDouble(next()); } public String next() throws Exception { while (!st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return st.nextToken(); } }