<doocs>0888.Fair Candy Swap_1.py
def fairCandySwap( aliceSizes: List[int], bobSizes: List[int]) -> List[int]:
    diff = (sum(aliceSizes) - sum(bobSizes)) >> 1
    s = set(bobSizes)
    for a in aliceSizes:
        target = a - diff
        if target in s:
            return [a, target]
def sample_funcname ( var_0 : List [ int ] , var_3 : List [ int ] ) -> List [ int ] :
    var_6 = ( sum ( var_0 ) - sum ( var_3 ) ) >> 1
    var_8 = set ( var_3 )
    for var_9 in var_0 :
        var_10 = var_9 - var_6
        if var_10 in var_8 :
            return [ var_9 , var_10 ]
