def sumsub(a, b, c=0, d=0): return a - b + c - d