Ed owns 65 shares of ABC Corporation. Fred owns the other 35 shares. ABC redeems 31 of Ed's shares for a total purchase price of $31,000. ABC has earnings and profits of $22,000. Ed has a basis in his stock of $100 per share. How much of the redemption is a dividend, a return of capital or capital gain?