import java.util.Scanner; public class No9002 { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); for( int i=1; i<=n; i++ ) { String ans = ""; // i%3 = 0 か぀ i%5 = 0ăȘら"FizzBuzz" if( i%3 == 0 && i%5 ==0 ){ ans = "FizzBuzz"; } else if( i%3 == 0 ){ ans = "Fizz"; } else if( i%5 == 0 ){ ans = "Buzz"; } else{ ans += i; } System.out.println( ans ); } } }