import java.util.Scanner; public class Main { public static void main(String[] a) { for (int i=0,n=(new Scanner(System.in)).nextInt();n>i++;)System.out.println(i%5>0?i%3>0?i:"Fizz":i%3>0?"Buzz":"FizzBuzz"); } }