Set .union() Operation

  • + 0 comments

    n = int(input()) students = set(map(int, input().split())) b = int(input()) be = set(map(int, input().split()))

    print(len(students | be))