from collections import Counter
def c():
	n = int(input())
	inp = []
	for i in range(n):
		inp.append(input())
	
	result = Counter(inp)
	print(f"AC x {result['AC']}")
	print(f"WA x {result['WA']}")
	print(f"TLE x {result['TLE']}")
	print(f"RE x {result['RE']}")