#include <stdio.h>
#include <stdlib.h>

int main(void)
{
	char buf[256];
	char *str;
	int a = 0;

	if (scanf("%255s", buf) != 1)
	{
		return 1;
	};
	str = buf;
	a = atoi(buf);

	if (a%3==0 && a%5==0)
		printf("FizzBuzz\n");
	else if(a%3==0)
		printf("Fizz\n");
	else if(a%5==0)
		printf("Buzz\n");
	else
	{
		/* code */
	}
	return (0);
}