No Idea!

  • + 1 comment

    I am not sure why it is in medium level.. I realised it after I got 50 points: I solved it very easily(unsure if i did it correctly as I am new)

    Here is my solution:

    arr=list(map(int, input().split()))
    arr=arr[:n]
    a=set(map(int, input().split()))
    b=set(map(int, input().split()))
    h=0
    for i in arr:
        if(i in a):
            h+=1
        elif(i in b):
            h-=1
    print(h)
        
    

    `