how do i split capital gains between two owners

two owners 50/50  (spouses now separated) how should the sale; ACB and Outlays be recorded so that Gain is not overstated