Set .difference() Operation

  • + 0 comments
    e = int(input())
    E = set(input().split())
    f = int(input())
    F = set(input().split())
    print(len(E - F))