def main():
	for n in range(1,51):
		if(n%3 == 0 and n%5 == 0):
			print("bazinga")
		elif(n%3 == 0):
			print("Fizz")
		elif(n%5 == 0):
			print("Buzz")
		else:
			print(n)










if __name__ == "__main__":
	main()