import java.util.*; import static java.lang.System.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { String s = sc.next(); Long n = Long.parseLong(toNbase(s,4,10)); if (n%15==0) {out.println("FizzBuzz");} else if (n%5==0) {out.println("Buzz");} else if (n%3==0) {out.println("Fizz");} else {out.println(n);} } static String toNbase (String sm, int m, int n) { return Long.toString(Long.parseLong(sm,m),n); } }