Reg question help!

This sim is asking a corp's tax basis in the property a shareholder contributed. Mitchell's liability assumed with the property is 50,000. basis in the property is 40,000.Mitchell contributed 20,000 cash. My answer was the corp's tax basis in this property is the greater of NBV or the debt assumed, which is 50,000. But the answer is 40,000. WHY?? Anyone help? thanks!