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

[백준/파이썬] 1269번 대칭 차집합

by 현장 2024. 6. 12.

-Code

n1, n2 = map(int, input().split())
a_list = set(list(map(int, input().split())))
b_list = set(list(map(int, input().split())))

print(len(a_list - b_list) + len(b_list - a_list))