Tom gives appreciated stock worth $10,000 to a public charity. His cost basis in the stock is $2,000. His modified adjusted gross income ("contribution base") on his income tax return is $18,000. How much of his contribution is deductible in the year of his gift?