N = int(raw_input()) input = sorted(raw_input().strip().split()) cnt = 0 while input: if len(input) == 1: cnt += 1 break else: top = input.pop(0) nxt = input[0] if top == nxt: while Ture: try: input.remove(top) except: pass else: cnt += 1 print cnt