def sumOfTwo(a, b, v):
    #No need to iterate a huge list, if the other list is empty
    if not a or not b:
        return False
    
    #kill duplicates
    b = set(b)
    
    #iterate through list a to look if the wanted difference is in b
    for x in a:
        if (v-x) in b:
            return True
    return False
    

f26119132077bcb57bf320a7fe31892fa50f248c
<mask token>

def sumOfTwo(a, b, v):
    if not a or not b:
        return False
    b = set(b)
    for x in a:
        if v - x in b:
            return True
    return False

def sumOfTwo(a, b, v):
    #No need to iterate a huge list, if the other list is empty
    if not a or not b:
        return False
    
    #kill duplicates
    b = set(b)
    
    #iterate through list a to look if the wanted difference is in b
    for x in a:
        if (v-x) in b:
            return True
    return False
    
