You are viewing a single comment's thread. Return to all comments →
_,set1=input(),set(input().split()) _,set2=input(),set(input().split()) print(len(set1 | set2))
Set .union() Operation
You are viewing a single comment's thread. Return to all comments →