Set .intersection() Operation

  • + 0 comments
    n,e,b,f = (set(input().split()) for _ in range(4))
    print(len(e&f))