import java.util.*; import java.lang.*; import java.math.*; public class prog { public static void main(String[] args){ Scanner sc = new Scanner(System.in); String line = sc.nextLine(); int odd = 0; int even = 0; for (int i = 0; i < line.length(); ++i){ int c = line.charAt(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(line); } } }