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