Answer:
Sell Machine A and distribute cash to one of the shareholders.
Distribute Machine B to the other shareholder because there is no gain on the distribution and no deductible loss
Machine C can then be retained
Step-by-step explanation:
If Machine A is distributed, it will result in a non-deductible loss of $ 7,000 ( 27,000- 20,000). Hence, to preserve the loss which will help to reduce tax base, the company should consider selling it and give the cash generated on it to one of the shareholders.
If Machine B is distributed, it will yield neither gain nor loss. Since it doesn't have any tax implication whether distributed or sold, the company should consider given it to the other shareholder.
As for Machine C, this should be retained, because Raven will have to pay tax on the assumed gain if it is distributed.