(a) the lesser ofi. the paid-up capital in respect of the shares immediately before the winding-up; and
ii. the amount by which the aggregate of the amounts each of which is in respect of any property owned by the subsidiary immediately before the winding-up and equal to the cost amount to it of the property at that time, plus its cash then on hand, exceeds the aggregate of all the debts of the subsidiary immediately before the winding-up and of the amount of each reserve deducted by the subsidiary in computing its income for the taxation year during which its property was distributed to the parent on the winding-up, other than a reserve contemplated in sections 153, 234, 279, 357 and 358; or