REG question need help: P&E or Capital gain?

Ninja MCQ: Elm Corp. is an accrual-basis calendar-year C corporation with 100,000 shares of voting common stock issued and outstanding as of December 28, 2015. On Tuesday, December 29, 2015, Hall surrendered 2,000 shares of Elm stock to Elm in exchange for $33,000 cash. Hall had no direct or indirect interest in Elm after the stock surrender. Additional information follows: Hall's adjusted basis in 2,000 shares of Elm on December 29, 2015 ($8 per share) $16,000 Elm's accumulated earnings and profits at January 1, 2015 25,000 Elm's 2015 net operating loss (7,000) What amount of income did Hall recognize from the stock surrender? A.$33,000 dividend B.$25,000 dividend C.$18,000 capital gain D.$17,000 capital gain correct answer is D, But I thought should be B, since 25,000 will be distributed from AE&P first, tax as Dividends. then will be return of capital. Thanks!