Deductions & credits

The IRS has addressed what I believe is your situation.  If I understand your situation correctly, you are described in the attached document as "Situation 1"
<a rel="nofollow" target="_blank" href="https://www.irs.gov/pub/irs-drop/rr-05-25.pdf">https://www.irs.gov/pub/irs-drop/rr-05-25.pdf</a>