Challenge - #53 - Set .union() Operation

 # Enter your code here. Read input from STDIN. Print output to STDOUT


en = int(input())
english = set(map(intinput().split()))
fr = int(input())
french = set(map(intinput().split()))

print(len(english.union(french)))

Comments

Popular posts from this blog

Challenge - #48 - Incorrect Regex

Challenge - #43 - Time Delta