Armando contributed some inventory from his sole proprietorship to a public charity for its use. On the date of the contribution, Armando's basis in the inventory $2,000 and the fair market value was $5,000. What is the amount of charitable contribution allowed (before considering any potential percentage limitation)?