solutions: 43A

This commit is contained in:
Muhammad Nauman Raza 2025-01-15 21:06:34 +00:00
parent a7516e3136
commit 9fc85722fe
Signed by: devraza
GPG key ID: 91EAD6081011574B

11
solutions/python/43A.py Normal file
View file

@ -0,0 +1,11 @@
n = int(input())
goals = {}
for _ in range(n):
team = input()
if team not in goals:
goals[team] = 0
goals[team] += 1
print(max(goals, key=goals.get))