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