본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 8270번 Tulips

by 현장 2024. 1. 8.

-Code

n = int(input())
cnt = len(set(list(map(int, input().split()))))

print(15000 - cnt)