x;main(n){for(scanf("%d",&n);n>x++;puts(""))printf(x%3?x%5?"%d":"Buzz":x%5?"Fizz":"FizzBuzz",x);}