import java.util.*; import java.lang.*; import java.math.*; import java.io.*; public class prog { public static void main(String[] args) throws IOException{ byte[] line = new byte[20000005]; int len = System.in.read(line); int odd = 0; int even = 0; for (int i = 0; i < len; ++i){ int c = line[i] - '0'; if (i%2 == 1) odd += c; else even += c; } boolean div5 = (odd - even) % 5 == 0; boolean div3 = (odd + even) % 3 == 0; if (div5 && div3){ System.out.println("FizzBuzz"); }else if (div5){ System.out.println("Buzz"); }else if (div3){ System.out.println("Fizz"); }else{ System.out.println(new String(line)); } } }