#include<stdio.h>
int main()
{
	long long tc;
	scanf("%lld",&tc);
	for(int i = 1;i<=tc;i++)
	{
		if(i % 3 == 0 && i % 5 == 0) printf("FizzBuzz");
		else if(i % 3 == 0) printf("Fizz");
		else if(i % 5 == 0) printf("Buzz");
		else{
			printf("%d",i);
		}
		if(i != tc) printf(",");
	}
}