import java.util.Scanner; public class Main { public static void main(String[] args) { Main main = new Main(); main.solve(); } void solve() { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); sc.close(); for(int i=1; i<=n;i++){ String S = ""; if(n%3==0)S+="Fizz"; if(n%5==0)S+="Buzz"; else S+=n; System.out.println(S); } } }