Andrew contributes a building with a value of $650,000 (his basis is $400,000) to a corporation in a tax-deferred Section 351 transaction. The corporation assumes a $370,000 mortgage as part of the transfer. What is Andrew's basis in the stock he receives from the corporation