import java.util.Scanner; public class Main { static final String FIZZ = "Fizz"; static final String BUZZ = "Buzz"; public static void main(String[] args) { Scanner sc = new Scanner(System.in); // N(1≤N≤100) int num = sc.nextInt(); for (int i=1; i<=num; i++) { if (i % 3 == 0 && i % 5 == 0) { System.out.print(FIZZ + BUZZ); } else if (i % 3 == 0) { System.out.print(FIZZ); } else if (i % 5 == 0) { System.out.print(BUZZ); } else { System.out.print(i); } System.out.println(); } } }