Buggy python submission (verdict: Runtime Error):
S = input()
T = input()
 
if S == T[:-1]
     print("YES")
  else:
  print("NO")

Fixed submission:

    
s = input()
t = input()

if t[:-1] == s:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
S = input()
T = input()
 
if S == T[:-1]:
  print("YES")
  else
  print("NO")

Fixed submission:

    
s = input()
t = input()

if t[:-1] == s:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
S = input()
T = input()

if S == T[:-1]
     print("YES")
  else
  print("NO")

Fixed submission:

    
s = input()
t = input()

if t[:-1] == s:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
import random 
S = input()
T = input()
a = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
  print(if T == S + random.coice(a) "YES"  else: print("NO"))
  
    
    
    

Fixed submission:

    
s = input()
t = input()

if t[:-1] == s:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
import random 
S = input()
T = input()
a = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
if T == S + random.coice(a) 
  print(if T == S + random.coice(a) "YES"  else: print("NO"))
  
    
    
    

Fixed submission:

    
s = input()
t = input()

if t[:-1] == s:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
import random 
S = input()
T = input()
a = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
if T == S + random.coice(a) 
  print("YES")
  else:
    print("NO")
    
    

Fixed submission:

    
s = input()
t = input()

if t[:-1] == s:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
import random 
S = input()
T = input()
a = [a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z]
if T == S + random.coice(a) 
  print("YES")
  else:
    print("NO")
    
    

Fixed submission:

    
s = input()
t = input()

if t[:-1] == s:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
S = input()
T = input()
a = [a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z]
if T == S + a.index(input()):  
  print("YES")
  else:
    print("NO")
    
    

Fixed submission:

    
s = input()
t = input()

if t[:-1] == s:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
S = input()
T = input()
a = [a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z]
  print(if T == S + a.index(input()): "YES")
  else:
    print("NO")
    
    

Fixed submission:

    
s = input()
t = input()

if t[:-1] == s:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
S = input()
T = input()
a = [a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z]
  print(if T == S + .index(a)"YES")
  else:
    print("NO")
    
    

Fixed submission:

    
s = input()
t = input()

if t[:-1] == s:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
S = input()
T = input()
a = [a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z]
if T == S + .index(a):
  print("YES")
  else:
    print("NO")
    
    

Fixed submission:

    
s = input()
t = input()

if t[:-1] == s:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
S = input()
T = input()
if T == S + 1:
  print("YES")
  else:
    print("NO")

Fixed submission:

    
s = input()
t = input()

if t[:-1] == s:
    print("Yes")
else:
    print("No")

Buggy python submission (verdict: Runtime Error):
S = input()
T = input()
a = input()
if T == S + a:
  print("YES")
  else:
    print("NO")

Fixed submission:

    
s = input()
t = input()

if t[:-1] == s:
    print("Yes")
else:
    print("No")