Set .union() Operation

  • + 0 comments

    i1 = int(input()) l1 = set(input().split()) i2 = int(input()) l2 = set(input().split())

    print(len(l1.union(l2)))