← Back to List

9913번: Max ↗

Solutions

Python 3
112 B | 112 chars
d = {}
for i in range(int(input())):
	a = input()
	try:
		d[a] += 1
	except:
		d[a] = 1

print(max(d.values()))