import java.io.*; class HelloWorld{ public static void main(String[] args) throws IOException { int N; N = System.in.read(); for (int i=1;i==N;i++) { if (i%3 == 0 && i%5 != 0) { System.out.println("Fizz"); } if (i%3 != 0 && i%5 == 0) { System.out.println("Buzz"); } if (i%3 == 0 && i%5 == 0) { System.out.println("FizzBuzz"); } if (i%3 != 0 && i%5 != 0) { System.out.println(i); } } } }