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