n, m, t = map(int, input().split()) a = list(map(int, input().split())) o = [0] * n for x in a: o[x - 1] += 1 print(max(o))