Calculating Recgonized Gain - Reg

This is the formula I have, which I used for question listed below the formula: Step #1) Calculate the boot received, boot paid, and amount realized Boot RECEIVED = Cash RECEIVED + FMV of non like-kind property RECEIVED + net relief of liabilities Boot PAID = Cash PAID + FMV of non like-kind property PAID (gave up) + net relief of liabilities assumed Amount realized = FMV of New Property received + FMV of Boot received - FMV of Boot paid Step #2) Find out realized gain so we can determine recognized gain Realized gain = Amount realized - Adjusted basis (NBV) of property given up Recognized gain = LESSER of realized gain or boot received Step #3) Calculate basis of new property received Basis of new property received = Adjusted basis (NBV) of property given up + GAIN RECOGNIZED + Boot Paid - Boot received In the current year Tatum exchanged farmland for an office building. The farmland had a basis of $250,000, a fair market value (FMV) of $400,000, and was encumbered by a $120,000 mortgage. The office building had an FMV of $350,000 and was encumbered by a $70,000 mortgage. Each party assumed the other’s mortgage. What is the amount of Tatum’s recognized gain? Correct answer is B. $50,000 Tatum should recognize a gain of $50,000. Since each party assumed the other’s mortgage, Tatum’s mortgage liability was reduced from $120,000 to $70,000, and thus he benefited or gained by $50,000. But based off of the formula, I have: Boot Received: 120k Boot Paid: 70k Amt Realized = 350k+120k-70k = 400k Realized Gain = 400k-250k = 150k Recognized Gain = LESSER of realized gain (150k) or boot received (120k), THEREFORE, according to this, it should be 120k. Then why is the correct answer 50K. Please help! Thank you.