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 True: try: input.remove(top) except: break else: cnt += 1 print cnt