You are viewing a single comment's thread. Return to all comments →
n, m = input().split() my_n = list(map(int, input().split())) A_hapy, B_sad = set(map(int, input().split())), set(map(int, input().split())) print(sum((i in A_hapy) - (i in B_sad) for i in my_n))
Seems like cookies are disabled on this browser, please enable them to open this website
No Idea!
You are viewing a single comment's thread. Return to all comments →