No Idea!

  • + 0 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))