import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String... args) throws Exception { int N = Integer.parseInt(new BufferedReader(new InputStreamReader(System.in)).readLine()); for (int i = 1; i <= N; i++) { System.out.println(i % 15 == 0 ? "FizzBuzz" : i % 3 == 0 ? "Fizz" : i % 5 == 0 ? "Buzz" : i); } } }