Programmers 폰겟몬

Solution

def solution(nums):
    max = len(nums) // 2
    nums = list(set(nums))
    return min(max, len(nums))