What is wrong in this cde of question of LADDUS ? Please let me know

for _ in range(int(input())):
activities,origin=map(str,input().split())
for i in range(activities):
status=input().strip().split()
laddus=0
if status[0] == CONTEST_WON:
laddus+=300
laddus+=max(0,20-int(status[1]))
elif status[0] == TOP_CONTRIBUTOR :
laddus+=300
elif status[0] == BUG_FOUND:
laddus+=status[1]
elif status[0] == CONTEST_HOSTED :
laddus+=50
months=0
if origin.upper()==“INDIAN”:
print(laddus//200)
elif origin.upper()==“NON_INDIAN”:
print(laddus//400)

Please ignore the indentation I just copy pasted my solution from the ide to here

you’re taking “activites” as a string. So, after taking activites as input, In the next line write activites = int(activites).

Yes I did that forgot to update it here though Sorry!
My error is coming in first line of the code
EOFerror

your solution is wrong too. why don’t you change your logic?

Ok sure,Thank you .

https://www.codechef.com/viewsolution/41505958

I have no idea why it is :x: .
Plz help!