Mimi, who is in the 37% marginal tax bracket, recently sold a rare set of collectible buttons for $1,000,000. Mimi purchased the set 5 years ago for $500,000. How much is the tax on this transaction before taking into consideration the 3.8% Medicare tax?