Solution (WA)[Laddu Problem DSA Learning]

Problem : https://www.codechef.com/LRNDSA01/problems/LADDU

```
from sys import stdin,stdout
T=int(stdin.readline())
for i in range(T):
res=0
N=[str(x) for x in stdin.readline().split()]
s=''
Dict=dict()
for j in range(int(N[0])):
s=stdin.readline().split()
if len(s)==1:
Dict[s[0]]=''
elif len(s)==2:
Dict[s[0]]=s[1]
Location=N[1]
if "CONTEST_WON" in Dict.keys():
res=res+300
if int(Dict["CONTEST_WON"])<=20:
res=res+20-int(Dict["CONTEST_WON"])
if "TOP_CONTRIBUTOR" in Dict.keys():
res=res+300
if "BUG_FOUND" in Dict.keys():
res=res+int(Dict["BUG_FOUND"])
if "CONTEST_HOSTED" in Dict.keys():
res=res+50
if Location=="INDIAN":
print(int(res/200))
else:
print(int(res/400))
```