Python NZEC error

l=list(input().split())
for i in range(len(l)):
l[i]=int(l[i])
b=int(input())
l1=list(input().split())
for i in range(len(l1)):
l1[i]=int(l1[i])
c=int(input())
l2=list(input().split())
for i in range(len(l2)):
l2[i]=int(l2[i])
d=int(input())
l3=list(input().split())
for i in range(len(l3)):
l3[i]=int(l3[i])
for i in range©:
if(l2[i] in l):
continue
else:
k=1
break
for j in range(d):
if(l3[j] in l1):
continue
else:
m=1
break
if k==0 and m==0 and i==c-1 and j==d-1:
print(“Yes”)
else:
print(“no”)
n-=1