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