diff --git a/solutions/python/43A.py b/solutions/python/43A.py new file mode 100644 index 0000000..085c040 --- /dev/null +++ b/solutions/python/43A.py @@ -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))