from collections import Counter N, *A = map(int, open(0).read().split()) c = Counter(A) print(c.most_common(1)[1])