Set .union() Operation

  • + 0 comments
    n = int(input())
    nE = set(map(int, input().split()))
    
    b = int(input())
    bF = set(map(int, input().split()))
    
    print(len(nE | bF))