print("Nを入力")
N = input()
if N == 2 :
    print("hon")
if N == 4 :
    print("hon")
if N == 5 :
    print("hon")
if N == 7 :
    print("hon")
if N == 9 :
    print("hon")
if N == 0 :
    print("pon")
if N == 1 :
    print("pon")
if N == 6 :
    print("pon")
if N == 8 :
    print("pon")
if N == 3 :
    print("bon")