#include int main( void) { int cnt=1; int n; scanf("%d",&n); while ( cnt<=n ) { if ( cnt % 3 == 0 && cnt % 5 == 0) printf("Fizz,Buzz"); else if ( cnt % 3 == 0) printf("Fizz"); else if ( cnt % 5 == 0) printf("Buzz"); else printf("%d ", cnt); printf("\n"); cnt = cnt + 1; } return 0; }