No Idea!

  • + 0 comments

    n,m = input().split() n_arr = input().split() a = set(input().split()) b = set(input().split())

    def happiness(): h =0 for i in n_arr: if i in a: h+=1 elif i in b: h-=1 else: h=h return h print(happiness())