Problem p02675 (python)

Fixed submission:
n=list(input())

n==n.reverse()

if (n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9"):
    print("hon")
elif (n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8"):
    print("pon")
elif (n[0]=="3"):
    print("bon")

Buggy submission (verdict: Runtime Error):
n=list(input()).reversed()

if (n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9"):
    print("hon")
elif (n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8"):
    print("pon")
elif (n[0]=="3"):
    print("bon")

Buggy submission (verdict: Runtime Error):
N=list(input())
n==reversed(N)

if (n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9"):
    print("hon")
elif (n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8"):
    print("pon")
else:
    print("bon")

Buggy submission (verdict: Runtime Error):
n=list(input())
n=reversed(n)

if (n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9"):
    print("hon")
elif (n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8"):
    print("pon")
else:
    print("bon")

Buggy submission (verdict: Runtime Error):
n=list(input().reverse())

if (n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9"):
    print("hon")
elif (n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8"):
    print("pon")
else:
    print("bon")

Buggy submission (verdict: Runtime Error):
N=list(input())

n=reversed(N)

if (n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9"):
    print("hon")
elif (n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8"):
    print("pon")
else:
    print("bon")

Buggy submission (verdict: Runtime Error):
n=list(input())

if n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9":
    print("hon")
elif n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8":
    print("pon")
else:
    n[0]=="3":
    print("bon")

Buggy submission (verdict: Runtime Error):
N=list(input())

n=reversed(N)

if n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9":
    print("hon")
elif n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8":
    print("pon")
else:
    n[0]=="3":
    print("bon")
    break

Buggy submission (verdict: Runtime Error):
N=list(input())

n==reversed(N)

if n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9":
    print("hon")
if n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8":
    print("pon")
if n[0]=="3":
    print("bon")
    break

Buggy submission (verdict: Runtime Error):
N=list(input())

n=reversed(N)

if n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9":
    print("hon")
if n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8":
    print("pon")
if n[0]=="3":
    print("bon")
    break

Buggy submission (verdict: Runtime Error):
N=list(input())

n=reversed(N)

if n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9":
    print("hon")
if n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8":
    print("pon")
if n[0]=="3":
    print("bon")

Buggy submission (verdict: Runtime Error):
N=list(input().split)

n=reversed(N)

if n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9":
    print("hon")
if n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8":
    print("pon")
if n[0]=="3":
    print("bon")

Buggy submission (verdict: Runtime Error):
N=list(input().split)

n=reversed(N)

if n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9":
    print(hon)
if n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8":
    print(pon)
if n[0]=="3":
    print(bon)

Buggy submission (verdict: Runtime Error):
N=list(input())

n=reversed(N)

if n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9":
    print(hon)
if n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8":
    print(pon)
if n[0]=="3":
    print(bon)

Buggy submission (verdict: Runtime Error):
N=list(input())

n=list(reversed(N))

if n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9":
    print(hon)
if n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8":
    print(pon)
if n[0]=="3":
    print(bon)

Buggy submission (verdict: Runtime Error):
N=input()

n=list(reversed(N))

if n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9":
    print(hon)
if n[0]=="0" or n[0]=="1" or n[0]=="6" or n[0]=="8":
    print(pon)
if n[0]=="3":
    print(bon)

Buggy submission (verdict: Runtime Error):
N=input()

n=list(reversed(N))

if n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9":
    print(pon)

Buggy submission (verdict: Runtime Error):
N=list(input())

n=reversed(N)

if n[0]=="2" or n[0]=="4" or n[0]=="5" or n[0]=="7" or n[0]=="9":
    print(pon)

Buggy submission (verdict: Runtime Error):
N=list(input())

N=N[::-1]

if N[0]="2":
    print("hon")
    break

Buggy submission (verdict: Runtime Error):
N=list(input())

N=N[::-1]

if N[0]=="2"):
    print("hon")
    break

Buggy submission (verdict: Runtime Error):
N=list(input())

N=N[::-1]

if N[0]==("2" or "4" or "5" or "7" or "9"):
    print("hon")
    break
else:
    pass
if N[0]==("0" or "1" or "6" or "8"):
    print("pon")
    break
else:
    pass
if N[0]=="3":
    print("bon")
    break
else:
    pass

Buggy submission (verdict: Runtime Error):
N=list(input())

if N[2]=="2" or "4" or "5" or "7" or "9":
    print("hon")
if N[2]=="0" or "1" or "6" or "8":
    print("pon")
if N[2]=="3":
    print("bon")

Buggy submission (verdict: Runtime Error):
N=list(input())

if N[2]==("2" or "4" or "5" or "7" or "9"):
    print("hon")
if N[2]==("0" or "1" or "6" or "8"):
    print("pon")
if N[2]=="3":
    print("bon")