https://www.acmicpc.net/problem/2108 2108번: 통계학 첫째 줄에 수의 개수 N(1 ≤ N ≤ 500,000)이 주어진다. 단, N은 홀수이다. 그 다음 N개의 줄에는 정수들이 주어진다. 입력되는 정수의 절댓값은 4,000을 넘지 않는다. www.acmicpc.net code from collections import Counter import sys numbers = [] for _ in range(int(sys.stdin.readline())): num = int(sys.stdin.readline()) numbers.append(num) numbers.sort() most_num = Counter(numbers).most_common(2) #numbers에서 최빈깂 2개..