Buggy python submission (verdict: Runtime Error):
n = int(input())
 
if n == 3:
	print('bon')
elif(n[-1] == "0" or n[-1] == "1" or n[-1] == "6" or n[-1] == "8"):
     print("pon")
else:
     print("hon")

Fixed submission:
s = int(input())
n = (s % 10)
 
if n == 3:
	print('bon')
    
if n in {0, 1, 6, 8}:
	print('pon') 
    
if n in {2, 4, 5, 7, 9}:
	print('hon')

Buggy python submission (verdict: Runtime Error):
import math

    a, b, h, m = map(int, input().split())
    h = h * 30 + m/2
    m = m * 6
    degree = abs(h - m)
  
    print(math.sqrt(a*a + b*b - 2*a*b*math.cos(math.radians(degree))))

Fixed submission:
n = int(input()) % 10
if n == 3:
  print("bon")
elif n in(0,1,6,8):
  print("pon")
else:
  print("hon")

Buggy python submission (verdict: Runtime Error):
import math

if __name__ =='__main__':
    a, b, h, m = map(int, input().split())
    h = h * 30 + m/2
    m = m * 6
    degree = abs(h - m)
 
    print(math.sqrt(a*a + b*b - 2*a*b*math.cos(math.radians(degree))))

Fixed submission:
n = int(input()) % 10
if n == 3:
  print("bon")
elif n in(0,1,6,8):
  print("pon")
else:
  print("hon")

Buggy python submission (verdict: Runtime Error):
n = int(input())
    nStr = str(n)
    number = nStr[len(nStr)-1]
    if number == '3':
        print('bon')
    elif number  == '0'or number=='1'or number =='6'or number =='8':
        print('pon')
    else:
        print('hon')

Fixed submission:
n = int(input()) % 10
if n == 3:
  print("bon")
elif n in(0,1,6,8):
  print("pon")
else:
  print("hon")

Buggy python submission (verdict: Runtime Error):
 n = int(input())
    nStr = str(n)
    number = nStr[len(nStr)-1]
    if number == '3':
        print('bon')
    elif number  == '0'or number=='1'or number =='6'or number =='8':
        print('pon')
    else:
        print('hon')


Fixed submission:
n = int(input()) % 10
if n == 3:
  print("bon")
elif n in(0,1,6,8):
  print("pon")
else:
  print("hon")

Buggy python submission (verdict: Runtime Error):
n = int(input())
    nStr = str(n)
    if nStr[len(nStr)-1] == '3':
        print('bon')
    elif nStr[len(nStr)-1]  == {'0','1','6','8'}:
        print('pon')
    else:
        print('hon')

Fixed submission:
n = int(input()) % 10
if n == 3:
  print("bon")
elif n in(0,1,6,8):
  print("pon")
else:
  print("hon")

Buggy python submission (verdict: Runtime Error):
 n = int(input())
    nStr = str(n)
    print(nStr[len(nStr)-1])
    if nStr[len(nStr)-1] == '3':
        print('bon')
    elif nStr[len(nStr)-1]  == {'0','1','6','8'}:
        print('pon')
    else:
        print('hon')

Fixed submission:
n = int(input()) % 10
if n == 3:
  print("bon")
elif n in(0,1,6,8):
  print("pon")
else:
  print("hon")

Buggy python submission (verdict: Runtime Error):
n = int(input())
    nStr = str(n)
    if nStr[len(nStr)-1] == 3:
        print('bon')
    elif n == {0,1,6,8}:
        print('pon')
    else:
        print('hon')

Fixed submission:
n = int(input()) % 10
if n == 3:
  print("bon")
elif n in(0,1,6,8):
  print("pon")
else:
  print("hon")

Buggy python submission (verdict: Runtime Error):
n = int(input())
    nStr = str(n)
    if nStr[len(nStr)-1] == 3:
        print('bon')
    elif n == {0,1,6,8}:
        print('pon')
    else:
        print('hon')

Fixed submission:
n = int(input()) % 10
if n == 3:
  print("bon")
elif n in(0,1,6,8):
  print("pon")
else:
  print("hon")