As part of their divorce agreement, Harry transfers to Mary, his former spouse, GM stock with a market value of $30,000. Harry had $20,000 invested in the stock. How does this transfer affect Harry, and what is Mary's basis in the stock?