book = input()
if book % 10 == 0 or if book % 10 == 1 or if book % 10 == 6 or if book % 10 == 8 :
	print(pon)
elif book % 10 == 2 or book % 10 == 4 or book % 10 == 5 or book % 10 == 7 or book % 10 == 9:
	print(hon)
elif book % 10 == 3 :
	print(bon)