mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
14 lines
197 B
Python
14 lines
197 B
Python
def problem_p02675(input_data):
|
|
n = eval(input_data)
|
|
|
|
if n[-1] == "3":
|
|
|
|
return "bon"
|
|
|
|
elif n[-1] in ["0", "1", "6", "8"]:
|
|
|
|
return "pon"
|
|
|
|
else:
|
|
|
|
return "hon"
|