No Idea!

  • + 0 comments

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

    n, m = map(int, input().split())

    arr = list(map(int, input().split())) a = set(map(int, input().split())) b = set(map(int, input().split())) hap=0 for i in arr : if i in a and i in b: pass elif i not in a and i not in b: pass elif( i in a and i not in b ): hap+=1 else: hap-=1 print (hap)