import java.util.Scanner; public class fizzBuzz { public static void main(String[] args){ int i = new Scanner(System.in).nextInt(); int[] array = new int[i]; for(int n = 0; n < i; n ++){ array[n] = n + 1; if(0 == array[n] % 15){System.out.println("FizzBuzz");} else if(0 == array[n] % 3){System.out.println("Fizz");} else if(0 == array[n] % 5){System.out.println("Buzz");} else{System.out.println(array[n]);} } } }