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