import java.util.Scanner; public class Answer { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int input = sc.nextInt(); String fizz = "Fizz"; String buzz = "Buzz"; for(int i=1;i<=input;i++){ String output = ""; if(i % 3 == 0){ output = fizz; } if(i % 5 == 0){ output += buzz; } if(output.isEmpty()){ output = String.valueOf(i); } System.out.println(output); } sc.close(); } }