Medium Inc. had one class of stock outstanding. The one class of stock was owned 50 shares by Linda, 30 shares by Linda's mother, and 20 shares by Linda's grandmother. On December 31, 2012, Medium Inc. redeemed 20 of Linda's 50 shares, and in exchange for the stock, Medium Inc. distributed to Linda a building that had an adjusted basis to Medium Inc. of $10,000 and a fair market value of $50,000. Assume that Medium Inc.'s current earnings and profits were $200,000, there were no accumulated earnings and profits, and Linda's total basis in her stock before the redemption was $20,000. How much is Linda's basis in her remaining stock after the redemption, and what is her basis in the building?
a. Stock basis: $10,000; building basis: $10,000.
b. Stock basis: $10,000; building basis: $50,000.
c. Stock basis: $20,000; building basis: $10,000.
d. Stock basis: $20,000; building basis: $50,000.
e. None of the above.