C [ BaekJoon - Python ] 23305. 수강변경 (Silver 5) 23305. 수강변경 (Silver 5) 👉 문제 👉 풀이 n = int(input()) l = [0] * 1000001 for i in list(map(int, input().split())): l[i] += 1 c = 0 for i in list(map(int, input().split())): if l[i] >= 1: l[i] -= 1 else: c += 1 print(c) Algorithm/BOJ 2021.11.30