Deductions & credits

You both cannot claim $23,167.  You can, however, split it evenly, and get capped out at $10,000 each.