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