Problem:


Score : 200 points

Problem Statement

Takahashi is participating in a programming contest called AXC002, and he has just submitted his code to Problem A.

The problem has N test cases.

For each test case i (1\leq i \leq N), you are given a string S_i representing the verdict for that test case. Find the numbers of test cases for which the verdict is AC, WA, TLE, and RE, respectively.

See the Output section for the output format.

Constraints

1 \leq N \leq 10^5

S_i is AC, WA, TLE, or RE.

Input

Input is given from Standard Input in the following format:

N
S_1
\vdots
S_N

Output

Let C_0, C_1, C_2, and C_3 be the numbers of test cases for which the verdict is AC, WA, TLE, and RE, respectively. Print the following:

AC x C_0
WA x C_1
TLE x C_2
RE x C_3

Sample Input 1

6
AC
TLE
AC
AC
WA
TLE

Sample Output 1

AC x 3
WA x 1
TLE x 2
RE x 0

We have 3, 1, 2, and 0 test case(s) for which the verdict is AC, WA, TLE, and RE, respectively.

Sample Input 2

10
AC
AC
AC
AC
AC
AC
AC
AC
AC
AC

Sample Output 2

AC x 10
WA x 0
TLE x 0
RE x 0



Sample input:
6
AC
TLE
AC
AC
WA
TLE


Sample output:
AC x 3
WA x 1
TLE x 2
RE x 0

Submission status: Runtime Error

Solution code:
N=int(input())
AC=0
WA=0
TLE=0
RE=0

for k in range(N):
  K=input()
  if K=="AC":
    AC=AC+1
  if K=="WA":
    WA=WA+1
  if K=="TLE":
    TLE=TLE+1
  if K=="RE":
    RE=RE+1

print("AC x " + AC)
print("WA x " + RE)
print("TLE x " + TLE)
print("RE x " + RE)

Submission status: Runtime Error

Solution code:
1 N = int(input())
2 s = [input() for i in range(N)]
3 for v in ['AC', 'WA', 'TLE', 'RE']:
4 print('{0} x {1}'.format(v, s.count(v)))

Submission status: Runtime Error

Solution code:
N = int(input())
s = [input() for i in range(N)]
for v in ['AC', 'WA', 'TLE', 'RE']:
print('{0} x {1}'.format(v, s.count(v)))

Submission status: Runtime Error

Solution code:
inp = input()
n = int(inp)
i=0
ac=0
wa=0
tle=0
re=0
while i<n :
  s = input()
  if s=='AC':
    ac+=1
  if s=='WA':
    wa+=1
  if s=='TLE':
    tle+=1
  if s=='RE':'
    re+=1
  i+=1
print('AC x', ac)
print('WA x', wa)
print('TLE x', tle)
print('RE x', re)

Submission status: Runtime Error

Solution code:
inp = input()
n = int(inp)
i=0
ac=0
wa=0
tle=0
re=0
while i<n :
  s = inp()
  if s=='AC':
    ac+=1
  if s=='WA':
    wa+=1
  if s=='TLE':
    tle+=1
  if s=='RE':'
    re+=1
  i+=1
print('AC x', ac)
print('WA x', wa)
print('TLE x', tle)
print('RE x', re)

Submission status: Runtime Error

Solution code:
inp = input()
n = int(inp)
i=0
ac=0
wa=0
tle=0
re=0
while i<n :
  s = inp()
  if s=='AC':
    ac+=1
  if s=='WA':
    wa+=1
  if s=='TLE':
    tle+=1
  if s=='RE':'
    re+=1
print('AC x', ac)
print('WA x', wa)
print('TLE x', tle)
print('RE x', re)

Submission status: Runtime Error

Solution code:
dic = {'AC':0, 'WA':0, 'TLE':0, 'RE':0}
n = int(input())
for i in range(n):
  s = input()
  dic[s] +=1
for i in dic:
  print( i +' x '+ str(dic[i])

Submission status: Runtime Error

Solution code:
Ss = []
for i in range(N):
	Ss.append(input())
	
C0, C1, C2, C3 = 0, 0, 0, 0
for S in Ss:
	if S == 'AC':
		C0 += 1
	elif S == 'WA':
		C1 += 1
	elif S == 'TLE':
		C2 += 1
	else:
		C3 += 1
print("AC x {}".format(C0))
print("WA x {}".format(C1))
print("TLE x {}".format(C2))
print("RE x {}".format(C3))

Submission status: Runtime Error

Solution code:
N = int(input())
Ss = []
for i in range(N):
  Ss.append(int(input()))

C0, C1, C2, C3 = 0, 0, 0, 0
for S in Ss:
  if S == 'AC':
    C0 += 1
  elif S == 'WA':
    C1 += 1
  elif S == 'TLE':
    C2 += 1
  else:
    C3 += 1
print("AC X {}".format(C0))
print("WA X {}".format(C1))
print("TLE X {}".format(C2))
print("RE X {}".format(C3))

Submission status: Runtime Error

Solution code:
n=int(input())
ac=0
wa=0
tle=0
re=0

for i in range(n):
  num=str(input())
  if num=="AC":
    ac+=1
  elif num=="WA":
    wa+=1
  elif num=="TLE":
    tle+=1
  else num=="RE":
    re+=1
    
print("AC × {}".format(ac))
print("WA × {}".format(wa))
print("TLE × {}".format(tle))
print("RE × {}".format(re))

Submission status: Runtime Error

Solution code:
n=int(input())
ac=0
wa=0
tle=0
re=0

for i in range(n):
  num=str(input())
  if num=="AC":
    ac+=1
  elif num=="WA":
    wa+=1
  elif num=="TLE":
    tle+=1
  else num=="RE":
    re+=1
   

print("AC × {}".format(ac)
print("WA × {}".format(wa)
print("TLE × {}".format(tle)
print("RE × {}".format(re)

Submission status: Runtime Error

Solution code:
n=int(input())
ac=0
wa=0
tle=0
re=0
for i in range(n):
  num=str(input())
  if num=="AC":
    ac+=1
  elif num=="WA":
    wa+=1
  elif num=="TLE":
    tle+=1
  else num=="RE":
    re+=1
   

print("AC ×"{}.format(ac)
print("WA ×"{}.format(wa)
print("TLE ×"{}.format(tle)
print("RE ×"{}.format(re)

Submission status: Runtime Error

Solution code:
AC_Count = WA_Count = TLE_Count = RE_Count = 0
for _ in range(int(input())):
	s = input()
	if s=="AC":
		AC_Count+=1
	elif s=="WA":
		WA_Count+=1
	elif s=="TLE":
		TLE_Count+=1
	else:
		RE_Count+=1
print("AC "+"x "+AC_count)
print("WA "+"x "+WA_count)
print("TLE "+"x "+TLE_count)
print("RE "+"x "+RE_count)

Submission status: Runtime Error

Solution code:
AC_Count = WA_Count = TLE_Count = RE_Count = 0
for _ in range(int(input())):
	s = input()
	if s=="AC":
      AC_Count+=1
    elif s=="WA":
      WA_Count+=1
    elif s=="TLE":
      TLE_Count+=1
    else:
      RE_Count+=1
print("AC "+"x "+AC_count)
print("WA "+"x "+WA_count)
print("TLE "+"x "+TLE_count)
print("RE "+"x "+RE_count)

Submission status: Runtime Error

Solution code:
n = int(input().rstrip())
s = [str(input().rstrip()z) for i in range(n)]
for v in ["AC","WE","TLE","RE"]
         print(f"{v} x {s.count(v)}")

Submission status: Runtime Error

Solution code:
N = int(input())
2 s = [input() for i in range(N)]
3 for v in ['AC', 'WA', 'TLE', 'RE']:
4 print('{0} x {1}'.format(v, s.count(v)))

Submission status: Runtime Error

Solution code:

def b():
    n = int(input())
    AC=0
    WA=0
    TLE=0
    RE=0
    while n:
        n-=1
        if input()=='AC':
            AC+=1
        elif input()=='WA':
            WA+=1
        elif input()=='TLE':
            TLE+=1
        else:
            RE+=1
    print("AC x %d"%AC)
    print("WA x %d"% WA)
    print("TLE x %d"% TLE)
    print("RE x %d"% RE)
b()

Submission status: Runtime Error

Solution code:
n = int(input())
judge = list(input() for _ in range(n))
ac, wa, tle, re = 0
for i in judge:
  if i == 'AC':
    ac = ac + 1
  elif i == 'WA':
    wa = wa + 1
  elif i == 'TLE':
    tle = tle + 1
  elif i == 'RE':
    re = re + 1
print('AC x ' + str(ac))
print('WA x ' + str(wa))
print('TLE x ' + str(tle))
print('RE x ' + str(re))

Submission status: Runtime Error

Solution code:
n = int(input())
judge = list(int(input()) for _ in range(n))
ac, wa, tle, re = 0
for i in judge:
  if i == 'AC':
    ac = ac + 1
  elif i == 'WA':
    wa = wa + 1
  elif i == 'TLE':
    tle = tle + 1
  elif i == 'RE':
    re = re + 1
print('AC x ' + str(ac))
print('WA x ' + str(wa))
print('TLE x ' + str(tle))
print('RE x ' + str(re))

Submission status: Runtime Error

Solution code:
n=int(input())
ac, wa, tle, re=0, 0, 0, 0
for i in range(n):
  str=input(str())
  if str=='AC':
    ac=ac+1
  elif str=='WA':
    wa=wa+1
  elif str=='TLE':
    tle=tle+1
  elif str=='RE':
    re=re+1

print('AC x ', ac)
print('WA x ', wa)
print('TLE x ', tle)
print('RE x ', re)

Submission status: Runtime Error

Solution code:
n=int(input())
ac, wa, tle, re=0, 0, 0, 0
for i in range(n):
  str=input(str())
  if str=='AC':
    ac++
  elif str=='WA':
    wa++
  elif str=='TLE':
    tle++
  elif str=='RE':
    re++

print('AC x ', ac)
print('WA x ', wa)
print('TLE x ', tle)
print('RE x ', re)

Submission status: Runtime Error

Solution code:
n=int(input())
d={AC:0,RE:0,WA:0,TLE:0}
for i in range(n):
    s=input().strip()
    d[s]=d[s]+1
print('AC x '+str(d[AC]))
print('WA x '+str(d[WA]))
print('TLE x '+str(d[TLE]))
print('RE x '+str(d[RE]))

Submission status: Runtime Error

Solution code:
n = int(input())
l = [input() for _ in range(num)]
print("AC x", l.count("AC"))
print("WA x", l.count("WA"))
print("TLE x", l.count("TLE"))
print("RE x", l.count("RE"))

Submission status: Runtime Error

Solution code:
n = int(input())
l = [input() for i in range(num)]
print("AC x", l.count("AC"))
print("WA x", l.count("WA"))
print("TLE x", l.count("TLE"))
print("RE x", l.count("RE"))

Submission status: Runtime Error

Solution code:
import datetime
import string
import re
import math

aDic = {'ac': 0, 'wa': 0, 'tle': 0, 're': 0}

N = int(input())
for i in range(N):
    aDic[input()] += 1

for page in aDic:
    print(page + ' x ' + str(aDic[page]))

Submission status: Runtime Error

Solution code:
defB():
    n = int(input())
    s = [list(map(str,input().split())) for i in range(n)]
    import collections
    c = collections.Counter(s)
    ret_l = ["AC","WA","TLE","RE"]
    for t in ret_l:
        print(t +  " x " + str(c[t]))
B()

Submission status: Runtime Error

Solution code:
N = int(input())
ac, tle, wa, re = 0

for i in range(n):
    s[i-1] = input()
    
    
    if s[i-1] =="AC":
        ac = ac+1
    elif s[i-1] =="TLE"
        tle = tle+1
    elif s[i-1] =="WA"
        wa = wa+1
    elif s[i-1] =="RE"
        re = re+1

print("AC x "+ac)
print("WA x "+wa)
print("TLE x "+tle)
print("RE x "+re)

Submission status: Runtime Error

Solution code:
re=0
tle=0
wa=0
ac=0
ip=[]
n=int(input())
for i in range(n):
  ip.append(input())
for i in range(n):
  if ip[i]=="AC":
    ac=ac+1
  if ip[i]=="TLE":
    tle=tle+1
  if ip[i]=="WA":
    wa=wa+1
  if ip[i]=="RE":
    re=re+1
print("AC x "+ac)
print("WA x "+wa)
print("TLE x "+tle)
print("RE x "+re)

Submission status: Runtime Error

Solution code:
N = int(input())
s = [input() for i in range(N)]
for v in ['AC', 'WA', 'TLE', 'RE']:
  print({0}×{1}.format(v, s.count(v)))

Submission status: Runtime Error

Solution code:
N=int(input())
S=[input() for i in range(N)]
for v in ['AC','WA','TLE','RE']:
  print('{0} x {1}'.format(v,s.count(v)))

Submission status: Runtime Error

Solution code:
N=int(input())
S=[input() for i in range(N)]
for v in ['AC','WA','TLE','RE']:
  print('{} x {}'.format(v,s.count(v)))

Submission status: Runtime Error

Solution code:
N=int(input())
S=[input() for i in range[N]]
for v in ['AC','WA','TLE','RE']:
  print('{} x {}'.format(v,s.count(v)))

Submission status: Runtime Error

Solution code:
N=int(input())
S=[input() for i in range[N]]
for v in ['AC','WA','TLE','RE']:
  print('{} x {}'.format(v,s.count()))

Submission status: Runtime Error

Solution code:
n = int(input())
li = [0]*4
for _ in n:
  s = input()
  if s == 'AC':
    li[0]+=1
  elif s == 'WA':
    li[1]+=1
  elif s == 'TLE':
    li[2]+=1
  elif s == 'RE':
    li[3]+=1
print('AC x ',li[0])
print('WA x ',li[1])
print('TLE x ',li[2])
print('RE x ',li[3])

Submission status: Runtime Error

Solution code:
N = int(input())
var = [str(input()) for i in range(N)]
judges = ['AC', 'WA', 'TLE', 'RE']
for j in judges:
    print('{} x {}'.format(j, (np.array(var) == j).sum()))

Submission status: Runtime Error

Solution code:
import sys
N = int(input())
base = ['AC','WA','TLE','RE']
array = [ input() for a in range(N) if input() in base]

if not ( 1 <= N <= 10**5 ): sys.exit()

for I in base:
    print(I+' x '+str(array.count(I)))

Submission status: Runtime Error

Solution code:
import sys
N = int(input())
array = [ input() for a in range(6) ]
base = ['AC','WA','TLE','RE']

for I in base:
    print(I+' x '+str(array.count(I)))

Submission status: Runtime Error

Solution code:
N = int(input)
S = [input() for i in range(n)]
for v in ['AC', 'WA', 'TLE', 'RE']:
  print('{} x {}'.format(v, s.count(v))

Submission status: Runtime Error

Solution code:
n = input()

s = [input() for _ in range(n)]

print('AC x ', s.count('AC'))
print('WA x ', s.count('WA'))
print('TLE x ', s.count('TLE'))
print('RE x ', s.count('RE'))

Submission status: Runtime Error

Solution code:
rmap = {
  "AC": 0,
  "WA": 0,
  "TLE": 0,
  "RE": 0,
}

output_order = ["AC", "WA", "TLE", "RE"]

N - int(input())
for _ in range(N):
  rmap[input()] += 1

for k in output_order:
  print("{} x {}".format(k, rmap[k]))

Submission status: Runtime Error

Solution code:
n = int(input())
list = []
c1,c2,c3,c4 = 0,0,0,0
for i in n:
  list.append(input())
for j in n:
  if list[j] == "AC":
    c1 = c1+1
  if list[j] == "WA":
    c2 = c2+1
  if list[j] == "TLE":
    c3 = c3+1
  if list[j] == "RE":
    c4 = c4+1
print(f"AC {c1}\nWA {c2}\nTLE {c3}\nRE {c4}")

Submission status: Runtime Error

Solution code:
n = int(input())
l = []

for i in n:
  l.append(input())

for s in l:
  print(f'{s} x {l.count(s)}')

Submission status: Runtime Error

Solution code:
N = int(input())

ac = 0
wa = 0
tle = 0
re = 0

for i in range(N):
  s = input()
  
  if s=="AC":
	ac+=1
  else if s=="wa":
    wa+=1
  else if s=="TLE":
    tle+=1
  else:
    re+=1
      
print("AC x "+ac)
print("WA x "+wa)
print("TLE x "+tle)
print("RE x "+re)

Submission status: Runtime Error

Solution code:
import sys
input = sys.stdin.readline

N = int(input())
d = {'AC':0, 'WA':0, 'TLE':0, 'RE':0}

for _ in range(N):
  d[input()]+=1
  
for s in ['AC', 'WA', 'TLE', 'RE']:
  print(f'{s} X {d[s]}')

Submission status: Runtime Error

Solution code:
N = int(input())

ac = 0
wa = 0
tle = 0
re = 0

for i in range(N):
  s = input()
  
  switch(s):
    case "AC":
      ac+=1
      break
    case "WA":
      wa+=1
      break
    case "TLE":
      tle+=1
      break
    case "RE":
      re+=1
      break
      
print("AC x "+ac)
print("WA x "+wa)
print("TLE x "+tle)
print("RE x "+re)

Submission status: Runtime Error

Solution code:
N=int(input())
s=[input() i for in range(N)]
for v in ['AC', 'WA', 'TLE','RE']:
  print('{0}x{1}'.format(v,s.count(v)))

Submission status: Runtime Error

Solution code:
N=int(input())
s=[(input() i for in range(N))]
for v in ['AC', 'WA', 'TLE','RE']:
  print('{0}x{1}'.format(v,s.count(v)))

Submission status: Runtime Error

Solution code:
count_ac=0
count_wa=0
count_tle=0
count_re=0
n=int(input())
for i in range(n):
    d=input()
    if s == "AC":
        count_ac += 1
    elif s == "WA":
        count_wa += 1
    elif s == "TLE":
        count_tle += 1
    else:
        count_re += 1
print("AC x "+str(count_wa))
print("WA x "+str(count_ac))
print("TLE x "+str(count_tle))
print("RE x "+str(count_re))

Submission status: Runtime Error

Solution code:
count_ac=0
count_wa=0
count_tle=0
count_re=0
data=input().split()
for i in range(data[0]):
    if data[i+1] == "AC":
        count_ac += 1
    elif data[i+1] == "WA":
        count_wa += 1
    elif data[i+1] == "TLE":
        count_tle += 1
    else:
        count_re += 1
print("AC x "+str(count_wa))
print("WA x "+str(count_ac))
print("TLE x "+str(count_tle))
print("RE x "+str(count_re))

Submission status: Runtime Error

Solution code:
count_ac=0
count_wa=0
count_tle=0
count_re=0
data=input().split
for i in range(data[0]):
    if data[i+1] == "AC":
        count_ac += 1
    elif data[i+1] == "WA":
        count_wa += 1
    elif data[i+1] == "TLE":
        count_tle += 1
    else:
        count_re += 1
print("AC x "+str(count_wa))
print("WA x "+str(count_ac))
print("TLE x "+str(count_tle))
print("RE x "+str(count_re))

Submission status: Runtime Error

Solution code:
count_ac=0
count_wa=0
count_tle=0
count_re=0
for i in range(int(input())):
    if input() == "AC":
        count_ac += 1
    elif input() == "WA":
        count_wa += 1
    elif input() == "TLE":
        count_tle += 1
    else:
        count_re += 1
print("AC x "+str(count_wa))
print("WA x "+str(count_ac))
print("TLE x "+str(count_tle))
print("RE x "+str(count_re))

Submission status: Runtime Error

Solution code:
N = int(input())
value = []
for i in N:
    value.append(input())
ac = 0
wa = 0
tle = 0
re = 0
for a in value:
    if a == "AC":
        ac += 1
    elif a == "WA":
        wa += 1
    elif a == "TLE":
        tle += 1
    else:
        re += 1
print(f"AC x {ac}")
print(f"WA x {wa}")
print(f"TLE x {tle}")
print(f"RE x {re}")

Submission status: Runtime Error

Solution code:
N = int(input())
value = []
for i in range(N):
    value.append(int(input()))
ac = 0
wa = 0
tle = 0
re = 0
for a in value:
    if a == "AC":
        ac += 1
    elif a == "WA":
        wa += 1
    elif a == "TLE":
        tle += 1
    else:
        re += 1
print(f"AC x {ac}")
print(f"WA x {wa}")
print(f"TLE x {tle}")
print(f"RE x {re}")

Submission status: Runtime Error

Solution code:
N = int(input())
value = []
for i in N:
    value.append(int(input()))
ac = 0
wa = 0
tle = 0
re = 0
for a in value:
    if a == "AC":
        ac += 1
    elif a == "WA":
        wa += 1
    elif a == "TLE":
        tle += 1
    else:
        re += 1
print(f"AC x {ac}")
print(f"WA x {wa}")
print(f"TLE x {tle}")
print(f"RE x {re}")

Submission status: Runtime Error

Solution code:
N = int(input())
value = []
for i in N:
  value.append(int(input()))
ac = 0
wa = 0
tle = 0
re = 0
for a in value:
  if a == "AC":
    ac += 1
  elif a == "WA":
    wa += 1
  elif b == "TLE":
    tle += 1
  else:
    re += 1
print(f"AC x {ac}")
print(f"WA x {wa}")
print(f"TLE x {tle}")
print(f"RE x {re}")

Submission status: Runtime Error

Solution code:
N = int(input())
S = []
i for i in range(N):
  S.append(N)
print("AC x {}".format(S.count("AC")))
print("WA x {}".format(S.count("WA")))
print("TLE x {}".format(S.count("TLE")))
print("RE x {}".format(S.count("RE")))

Submission status: Runtime Error

Solution code:
    N = int(input())
    S = ['-1' for _ in range(N+1)]
    C = {}
    C['AC'] = 0; C['WA'] = 0; C['TLE'] = 0; C['RE'] = 0
    for i in range(N):
        S[i+1] = input()
        C[S[i+1]] += 1
    for case in ['AC', 'WA', 'TLE', 'RE']:
        print('{} x {}'.format(case,str(C[case])))

Submission status: Runtime Error

Solution code:
N = int(input())
S = []*N
AC = 0
WA = 0
TLE = 0
RE = 0

for n in range(N):
  S[n] = input()
  if S[n] == "AC":
    AC += AC
  elif S[n] == "WA":
    WA += WA
  elif S[n] == "TLE":
    TLE += TLE
  elif S[n] == "RE":
    RE += RE
    
print("AC x {}\nWA x {}\nTLE x {}\nRE x {}".format(AC,WA,TLE,RE))

Submission status: Runtime Error

Solution code:
a=int(input())
b=[input() for i in range(a)]
c=[AC,WA,TLE,RE]
for value in c:
  print('{0} x {1}'.format(value, b.count(value)))

Submission status: Runtime Error

Solution code:
a=int(input())
b=[input() for i in range(a)]
c=[AC,WA,TLE,RE]
for value in c:
  print('{0}x{1}'.format(value, b.count(value)))

Submission status: Runtime Error

Solution code:
a=int(input())
b=[input() for i in range(a)]
c=[AC,WA,TLE,RE]
for value in c:
  print("{0}x{1}".format(value,b.count(value)))

Submission status: Runtime Error

Solution code:
a=int(input())
b=[input() for i in range(a)]
c=[AC,WA,TLE,RE]
for value in c:
  e==b.count(value)
  print("{0}x{1}".format(value,e))

Submission status: Runtime Error

Solution code:
a=int(input())
b=[input() for i in range(a)]
c=[AC,WA,TLE,RE]
for value in c:
  e=b.count(value)
  print("{0}x{1}".format(value,e))

Submission status: Runtime Error

Solution code:
a=int(input())
b=[input() for i in range(a)]
c=[AC,WA,TLE,RE]
for value in c:
  e==b.count(value)
print("{0}x{1}".format(value,e))

Submission status: Runtime Error

Solution code:
a=int(input())
b=[input() for i in range(a)]
c=[AC,WA,TLE,RE]
for value in c:
  e=b.count(value)
print("{0}x{1}".format(value,e))

Submission status: Runtime Error

Solution code:
a=int(input())
b=[input() for i in range(a)]
c=[AC,WA,TLE,RE]
for value in c:
  e=b.count(value)
print("{0}x{1}".format(value.e))

Submission status: Runtime Error

Solution code:
a=int(input())
b=[input() for i in range(a)]
c=[AC,WA,TLE,RE]
for value in c:
  e=b.count(value)
print("{0}x{1}".format(value.e)

Submission status: Runtime Error

Solution code:
a=int(input())
b=[input() for i in range(a)]
c=[AC,WA,TLE,RE]
d=[]
for value in c:
  e=b.count(value)
  d.append(value+"x"+e)
print(d)

Submission status: Runtime Error

Solution code:
a=int(input())
b=[input() for i in range(a)]
c=[AC,WA,TLE,RE]
d=[]
for value in c:
  e=b.count(value)
  d.append("value x"+e)
print(d)

Submission status: Runtime Error

Solution code:
a=int(input())
b=[input() for i in range(a)]
c=[AC,WA,TLE,RE]
d=[]
for value in c:
  e=b.count(value)
  d.append([value,e])
print(d)

Submission status: Runtime Error

Solution code:
a=int(input())
b=[input() for i in range(a)]
c=[AC,WA,TLE,RE]
d=[]
for value in c:
  e=b.count(value)
  d.append(["value x" e])
print(d)

Submission status: Runtime Error

Solution code:
a=int(input())
b=[input() for i in range(a)]
c=[AC,WA,TLE,RE]
d=[]
for value in c:
  e=b.count(value)
  d.append([value x e\n])
print(d)

Submission status: Runtime Error

Solution code:
from collections imort Counter

n = int(input())
s = [input() for _ in range(n)]
counter = Counter(s)
output = ['AC', 'WA', 'TLE', 'RE']

for key in output:
  print(f'{key} x {counter[key]}')

Submission status: Runtime Error

Solution code:
n=int(input())
list_judge=[]
for i in range (n):
  list_judge.append(str(input()))

print("AC x ",acnum=list_judge.count("AC"))
print("WA x ",wanum=list_judge.count("WA"))
print("TLE x ",tlenum=list_judge.count("TLE"))
print("RE x ",renum=list_judge.count("RE"))

Submission status: Runtime Error

Solution code:
N = int(input())
C =　[0]*4
for i in range(N):
  M = input()
  if M == "AC":
    C[0] += 1
  else M == "WA":
    C[1] += 1
  else M == "TLE":
    C[2] += 1
  else M == "RE":
    C[3] += 1
    
print("AC" + " × " + str(C[0]))
print("WA" + " × " + str(C[1]))
print("TLE" + " × " + str(C[2]))
print("RE" + " × " + str(C[3]))

Submission status: Runtime Error

Solution code:
N = int(input())
C =　[0]*4
Moji = ["AC","WA","TLE","RE"]
for i in range(N):
  M = input()
  if M == "AC":
    C[0] += 1
  else M == "WA":
    C[1] += 1
  else M == "TLE":
    C[2] += 1
  else M == "RE":
    C[3] += 1
    
print(Moji[i] + " × " C[i] for i in range(len(Moji)))

Submission status: Runtime Error

Solution code:
m = int(input())

d = [input() fot i in range(m)]

print('AC x ', d.count("AC"))
print('WA x ', d.count("WA"))
print('TLE x ', d.count("TLE"))
print('RE x ', d.count("RE"))

Submission status: Runtime Error

Solution code:
m = int(input())

d = [input() fot i in range(m)]

print("AC x " + d.count("AC"))
print("WA x " + d.count("WA"))
print("TLE x " + d.count("TLE"))
print("RE x " + d.count("RE"))

Submission status: Runtime Error

Solution code:
N = int(input())
C0, C1, C2, C3 = 0, 0, 0, 0

for i in range(N-1):
    S = input()
    if S == AC:
        C0 = C0 + 1
    elif S == WA:
        C1 = C1 + 1
    elif S == TLE:
        C2 = C2 + 1
    else:
        C3 = C3 + 1

print("AC x " + C0)
print("WA x " + C1)
print("TLE x " + C2)
print("RE x " + C3)

Submission status: Runtime Error

Solution code:
a = [input() for _ in range(int(input()))]
print("AC x {0}".format(a.count("AC"))
print("WA x {0}".format(a.count("WA"))
print("TLE x {0}".format(a.count("TLE"))      
print("RE x {0}".format(a.count("RE"))

Submission status: Runtime Error

Solution code:
a = [input() for _ in range(int(input())]
print("AC x {0}".format(a.count("AC"))
print("WA x {0}".format(a.count("WA"))
print("TLE x {0}".format(a.count("TLE"))      
print("RE x {0}".format(a.count("RE"))

Submission status: Runtime Error

Solution code:
N = int(input())
S = ""
C0 = 0
C1 = 0
C2 = 0
C3 = 0

for i in range(N-1):
    S = input()
    if S == AC:
        C0 = C0 + 1
    elif S == WA:
        C1 = C1 + 1
    elif S == TLE:
        C2 = C2 + 1
    else:
        C3 = C3 + 1

Submission status: Runtime Error

Solution code:
N = int(input())
S = []
C0 = 0
C1 = 0
C2 = 0
C3 = 0

for i in range(N-1):
    S = input()
    if S == AC:
        C0 = C0 + 1
    elif S == WA:
        C1 = C1 + 1
    elif S == TLE:
        C2 = C2 + 1
    else:
        C3 = C3 + 1

print("AC x " + C0)
print("WA x " + C1)
print("TLE x " + C2)
print("RE x " + C3)

Submission status: Runtime Error

Solution code:
N = int(input())
S = []
C0 = 0
C1 = 0
C2 = 0
C3 = 0

for i in range(N-1):
    S = input()
    if S == AC:
        C0 = C0 + 1
    elif S == WA:
        C1 = C1 + 1
    elif SA == TLE:
        C2 = C2 + 1
    else:
        C3 = C3 + 1

print(C0, C1, C2, C3)

Submission status: Runtime Error

Solution code:
N = int(input())
S = []
C0 = 0
C1 = 0
C2 = 0
C3 = 0

for i in range(N):
    S = input()
    if S == AC:
        C0 = C0 + 1
    elif S == WA:
        C1 = C1 + 1
    elif SA == TLE:
        C2 = C2 + 1
    else:
        C3 = C3 + 1

print(C0, C1, C2, C3)

Submission status: Runtime Error

Solution code:
N = int(input())
S = []
C0 = 0
C1 = 0
C2 = 0
C3 = 0

for i in range(N):
    i = input()
    if i == AC:
        C0 = C0 + 1
    elif i == WA:
        C1 = C1 + 1
    elif i == TLE:
        C2 = C2 + 1
    else:
        C3 = C3 + 1

print(C0, C1, C2, C3)

Submission status: Runtime Error

Solution code:
N = int(input())
S = []
C0 = 0
C1 = 0
C2 = 0
C3 = 0

for i in range(N):
    i = input()
    if i == AC:
        C0 = C0 + 1
    elif i == WA:
        C1 = C1 + 1
    elif i == TLE:
        C2 = C2 + 1
    else i == RE:
        C3 = C3 + 1

print(C0, C1, C2, C3)

Submission status: Runtime Error

Solution code:
N = int(input())
S = []
for i in range(N):
    a = input()
    S.append(a)

C0 = 0
C1 = 0
C2 = 0
C3 = 0

for i in range(N):
    if i == AC:
        C0 = C0 + 1
    if i == WA:
        C1 = C1 + 1
    if i == TLE:
        C2 = C2 + 1
    if i == RE:
        C3 = C3 + 1

print(C0, C1, C2, C3)

Submission status: Runtime Error

Solution code:
N = int(input())
S = []
for i in range(N):
    a = input()
    S.append(a)

AC = 0
WA = 0
TLE = 0
RE = 0

for i in range(N):
    if i == AC:
        AC = AC + 1
    if i == WA:
        WA = WA + 1
    if i == TLE:
        TLE = TLE + 1
    if i == RE:
        RE = RE + 1

print("AC x " + AC)
print("WA x " + WA)
print("TLE x " + TLE)
print("RE x " + RE)

Submission status: Runtime Error

Solution code:
N =int(input())
list ={"AC"=0, "WA"=0, "TLE"=0, "RE"=0 }
 
for i in range(N):
  words = input()
  list[words]+=1
 
print("AC x "+str(list["AC"]))
print("WA x "+str(list["WA"]))
print("TLE x "+str(list["TLE"]))
print("RE x "+str(list["RE"]))

Submission status: Runtime Error

Solution code:
N =int(input())
list ={"AC"=0, "WA"=0, "TLE"=0, "RE"=0 }

for i in range(s):
  words = input()
  list[words]+=1

print("AC x "+str(list["AC"]))
print("WA x "+str(list["WA"]))
print("TLE x "+str(list["TLE"]))
print("RE x "+str(list["RE"]))

Submission status: Runtime Error

Solution code:
from collections import Counter
 
a = int(input())
b = [input() for _ in range(a)]
for v in ["AC", "WA", "TLE", "RE"]:
  print(f"{v} x {s.count(v)}")

Submission status: Runtime Error

Solution code:
from collections import Counter
 
a = map(int, input())
b = Counter([input() for _ in range(a)])
for k,v in b.items():
  print(f"{k} x {v}")

Submission status: Runtime Error

Solution code:
from collections import Counter

a = map(int, input().split())
b = Counter([input() for _ in range(a)])
for k,v in b.items():
  print(f"{k} x {v}")

Submission status: Runtime Error

Solution code:
num = int(input)
count = {"AC":0, "WA":0, "TLE":0, "RE":0}

for i in range(num):
  word = input()
  for (key , n) in count.items():
    if word == key:
      n += 1
 
for (key , n) in count.items():
  print(key + " × " + str(n))

Submission status: Runtime Error

Solution code:
cases = int(input())

account = {'AC': 0, 'WA' : 0, 'TLE':0, 'RE':0}

while --cases > 0:
  ++account[input()]
  
print('AC x '+ account['AC'])
print('WA x '+ account['WA'])
print('TLE x '+ account['TLE'])
print('RE x '+ account['RE'])

Submission status: Runtime Error

Solution code:
cases = int(input())

account = {'AC': 0, 'WA' : 0, 'TLE':0, 'RE':0}

while cases > 0:
  account[input()]++
  cases--
  
print('AC x '+ account['AC'])
print('WA x '+ account['WA'])
print('TLE x '+ account['TLE'])
print('RE x '+ account['RE'])

Submission status: Runtime Error

Solution code:
cases = int(input())

account = {'AC': 0, 'WA' : 0, 'TLE':0, 'RE':0}

while cases-- > 0:
  account[input()]++
  
print('AC x '+ account['AC'])
print('WA x '+ account['WA'])
print('TLE x '+ account['TLE'])
print('RE x '+ account['RE'])

Submission status: Runtime Error

Solution code:
MB_TLE = 0
MB_WA = 0
MB_RE = o
MB_AC = 0
n=int(input())
for i in range (n):
    ch = input ()
    if (ch =="TLE") :
     MB_TLE += 1
    if (ch =="WA") :
     MB_WA += 1
    if (ch =="RE") : 
     MB_RE += 1
    if (ch =="AC") :
     MB_AC += 1
print('TLE x ',MB_TLE)
print('WA x ',MB_WA)
print('RE x ',MB_RE)
print('AC x ',MB_AC)

Submission status: Runtime Error

Solution code:
MB_TLE = 0
MB_WA = 0
MB_RE = o
MB_AC = 0
n=int(input())
for i in range (n):
    ch = input ()
    if: (ch =="TLE")
     MB_TLE += 1
    if: (ch =="WA")
     MB_WA += 1
    if: (ch =="RE")
     MB_RE += 1
    if: (ch =="AC")
     MB_AC += 1
print('TLE x ',MB_TLE)
print('WA x ',MB_WA)
print('RE x ',MB_RE)
print('AC x ',MB_AC)

Submission status: Runtime Error

Solution code:
MB_TLE = 0
MB_WA = 0
MB_RE = o
MB_AC = 0
n=int(input())
for i in range (n):
    ch = input ()
    if (ch =="TLE")
     MB_TLE += 1
    if (ch =="WA")
     MB_WA += 1
    if (ch =="RE")
     MB_RE += 1
    if (ch =="AC")
     MB_AC += 1
print('TLE x ',MB_TLE)
print('WA x ',MB_WA)
print('RE x ',MB_RE)
print('AC x ',MB_AC)

Submission status: Runtime Error

Solution code:
N = int(input())
S = []
for i in range(N):
  S.append(input())

A = S.count("AC")
B = S.count("WA")
C = S.count("TLE")
D = S.count("RE")

print("AC × "+A)
print("WA × "+B)
print("TLE × "+C)
print("RE × "+D)

Submission status: Runtime Error

Solution code:
N=int(input())
x0,x1,x2,x3=0,0,0,0
 
for i in range(N)
	Si=input()
  	if Si=='AC':
      x0=x0+1
    
    elif Si=='WA':
      x1=x1+1
    
    elif Si=='TLE':
      x2=x2+1
    
    else Si=='RE':
      x3=x3+1
 
print('AC x' str(x0))
print('WA x' str(x1))
print('TLE x' str(x2))
print('RE x' str(x3))

Submission status: Runtime Error

Solution code:
N=int(input())
x0,x1,x2,x3=0,0,0,0

for i in range(N)
	Si=input()
  	if Si=='AC':
      x0=x0+1
    
    if Si=='WA':
      x1=x1+1
    
    if Si=='TLE':
      x2=x2+1
    
    if Si=='RE':
      x3=x3+1

print('AC x' str(x0)
print('WA x' str(x1)
print('TLE x' str(x2)
print('RE x' str(x3))

Submission status: Runtime Error

Solution code:

MB_TLE = 0
MB_WA = 0
MB_RE = o
MB_AC = 0
n=int(input())
for i in range (n):
    ch = input ()
    if (ch =="TLE")
     MB_TLE += 1
      if (ch =="WA")
     MB_WA += 1
    if (ch =="RE")
     MB_RE += 1
      if (ch =="AC")
     MB_AC += 1
print('TLE x',MB_TLE)
print('WA x',MB_WA)
print('RE x',MB_RE)
print('AC x',MB_AC)

Submission status: Runtime Error

Solution code:
MB_TLE = 0
MB_WA = 0
MB_RE = o
MB_AC = 0
n=int(input())
for i in range (n):
    ch = input ()
    if (ch =="TLE")
     MB_TLE += 1
      if (ch =="WA")
     MB_WA += 1
    if (ch =="RE")
     MB_RE += 1
      if (ch =="AC")
     MB_AC += 1
print('TLE *',MB_TLE)
print('WA *',MB_WA)
print('RE *',MB_RE)
print('AC *',MB_AC)

Submission status: Runtime Error

Solution code:
MB_TLE = 0
#MB_WA = 0
#MB_RE = o
#MB_AC = 0
n=int(input())
for i in range (n):
    ch = input ()
    if (ch =="TLE")
     MB_TLE =+ 1

Submission status: Runtime Error

Solution code:
n = int(input())
ac = 0
wa = 0
tle = 0
re = 0
for i in range(n):
  x = input()
  if x == 'AC':
    ac += 1
  else if x == 'WA':
    wa += 1
  else if x == 'TLE':
    tle += 1
  else:
    re += 1
print('AC x', ac)
print('WA x', wa)
print('TLE x', tle)
print('RE x', re)

Submission status: Runtime Error

Solution code:
count = {'AC' : 0,'WA' : 0,'TLE': 0,'RE' : 0 }
n = int(input)
for i in range(0,n):
  count[input()]+=1
ptrint('AC x '+str(count['AC']))
ptrint('WA x '+str(count['WA']))
ptrint('TLE x '+str(count['TLE']))  
ptrint('RE x '+str(count['RE']))