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