https://programmers.co.kr/learn/courses/30/lessons/1845
νμ΄
# νλ‘κ·Έλλ¨Έμ€ 1λ¨κ³ - ν°μΌλͺ¬
def solution(nums):
answer = 0
leng = len(set(nums))
if len(nums) // 2 > leng:
return leng
else:
return len(nums) // 2