def div(d1,d2): return (d1+d2,d1-d2) (a,b)=div(4,2) print a,b