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