Tom and Linda are married taxpayers who file a joint return. They have itemized deductions of $13,050 and four exemptions. Assuming an adjusted gross income of $40,000, what is their taxable income for 2017