I am getting the above error in python.
w=[]
h=[]
l=int(input())
t=int(input())
for i in range(t):
n=raw_input()
w.append(n)
n=int(input())
h.append(n)
for i in range(t):
if w<l and h<l:
print ("UPLOAD ANOTHER")
elif w>l and h>l and w!=h:
print ("CROP IT")
elif w>=l and h>=l and w==h:
print("ACCEPTED")