Buggy python submission (verdict: Runtime Error):
A =int(input())
B = int(input())
C = int(input())
 
count5 = 0
count7 = 0
 
if A == 5:
    count5 = count5 + 1
if A == 7:
    count7 = count7 + 1
if B == 5:
    count5 = count5 + 1
if B == 7:
    count7 = count7 + 1
if C == 5:
    count5 = count5 + 1
if C == 7:
    count7 = count7 + 1
    
if count5 == 2 and count7 == 1:
    print("YES")
else:
    print("NO")


Fixed submission:
s = input().split()

count5 = 0
count7 = 0
 
if s[0] == "5":
    count5 = count5 + 1
if s[0] == "7":
    count7 = count7 + 1
if s[1] == "5":
    count5 = count5 + 1
if s[1] == "7":
    count7 = count7 + 1
if s[2] == "5":
    count5 = count5 + 1
if s[2] == "7":
    count7 = count7 + 1
    
if count5 == 2 and count7 == 1:
    print("YES")
else:
    print("NO")

Buggy python submission (verdict: Runtime Error):
A = input()
B = input()
C = input()
 
count5 = 0
count7 = 0
 
if A == 5:
    count5 = count5 + 1
if A == 7:
    count7 = count7 + 1
if B == 5:
    count5 = count5 + 1
if B == 7:
    count7 = count7 + 1
if C == 5:
    count5 = count5 + 1
if C == 7:
    count7 = count7 + 1
    
if count5 == 2 and count7 == 1:
    print("YES")
else:
    print("NO")

Fixed submission:
s = input().split()

count5 = 0
count7 = 0
 
if s[0] == "5":
    count5 = count5 + 1
if s[0] == "7":
    count7 = count7 + 1
if s[1] == "5":
    count5 = count5 + 1
if s[1] == "7":
    count7 = count7 + 1
if s[2] == "5":
    count5 = count5 + 1
if s[2] == "7":
    count7 = count7 + 1
    
if count5 == 2 and count7 == 1:
    print("YES")
else:
    print("NO")

Buggy python submission (verdict: Runtime Error):
A =int( input())
B = int(input())
C = int(input())
 
count5 = 0
count7 = 0
 
if A == 5:
    count5 = count5 + 1
elif A == 7:
    count7 = count7 + 1
if B == 5:
    count5 = count5 + 1
elif B == 7:
    count7 = count7 + 1
if C == 5:
    count5 = count5 + 1
elif C == 7:
    count7 = count7 + 1
    
if count5 == 2 and count7 == 1:
    print("YES")
else:
    print("NO")

Fixed submission:
s = input().split()

count5 = 0
count7 = 0
 
if s[0] == "5":
    count5 = count5 + 1
if s[0] == "7":
    count7 = count7 + 1
if s[1] == "5":
    count5 = count5 + 1
if s[1] == "7":
    count7 = count7 + 1
if s[2] == "5":
    count5 = count5 + 1
if s[2] == "7":
    count7 = count7 + 1
    
if count5 == 2 and count7 == 1:
    print("YES")
else:
    print("NO")

Buggy python submission (verdict: Runtime Error):
A = input()
B = input()
C = input()

count5 = 0
count7 = 0

if A == 5:
    count5 = count5 + 1
elif A == 7:
    count7 = count7 + 1

if B == 5:
    count5 = count5 + 1
elif B == 7:
    count7 = count7 + 1
if C == 5:
    count5 = count5 + 1
elif C == 7:
    count7 = count7 + 1
    
if count5 == 2 and count7 == 1:
    print("YES")
else:
    print("NO")

Fixed submission:
s = input().split()

count5 = 0
count7 = 0
 
if s[0] == "5":
    count5 = count5 + 1
if s[0] == "7":
    count7 = count7 + 1
if s[1] == "5":
    count5 = count5 + 1
if s[1] == "7":
    count7 = count7 + 1
if s[2] == "5":
    count5 = count5 + 1
if s[2] == "7":
    count7 = count7 + 1
    
if count5 == 2 and count7 == 1:
    print("YES")
else:
    print("NO")

Buggy python submission (verdict: Runtime Error):
A = input()
B = input()
C = input()

count5 = 0
count7 = 0

if A == "5":
    count5 = count5 + 1
elif A == "7":
    count7 = count7 + 1

if B == "5":
    count5 = count5 + 1
elif B == "7":
    count7 = count7 + 1
if C == "5":
    count5 = count5 + 1
elif C == "7":
    count7 = count7 + 1
    
if count5 == 2 and count7 == 1:
    print("YES")
else:
    print("NO")

Fixed submission:
s = input().split()

count5 = 0
count7 = 0
 
if s[0] == "5":
    count5 = count5 + 1
if s[0] == "7":
    count7 = count7 + 1
if s[1] == "5":
    count5 = count5 + 1
if s[1] == "7":
    count7 = count7 + 1
if s[2] == "5":
    count5 = count5 + 1
if s[2] == "7":
    count7 = count7 + 1
    
if count5 == 2 and count7 == 1:
    print("YES")
else:
    print("NO")

Buggy python submission (verdict: Runtime Error):
A = input()
B = input()
C = input()

count5 = 0
count7 = 0

if A == "5":
    count5 = count5 + 1
elif A == "7":
    count7 = count7 + 1

if B == "5":
    count5 = count5 + 1
elif B == "7":
    count7 = count7 + 1
if C == "5":
    count5 = count5 + 1
elif C == "7":
    count7 = count7 + 1
    
if count5 == 2 and count7 == 1:
    print("YES")
else:
    print("NO")

Fixed submission:
s = input().split()

count5 = 0
count7 = 0
 
if s[0] == "5":
    count5 = count5 + 1
if s[0] == "7":
    count7 = count7 + 1
if s[1] == "5":
    count5 = count5 + 1
if s[1] == "7":
    count7 = count7 + 1
if s[2] == "5":
    count5 = count5 + 1
if s[2] == "7":
    count7 = count7 + 1
    
if count5 == 2 and count7 == 1:
    print("YES")
else:
    print("NO")