1. Problem 문제 확인하기 2. Solution N = input() people = input() people = people.split() print(len(people) - len(set(people)))