I moved in 2016 and rented my primary residence out when I left. I'm working on mortgage interest tax deduction. It asked me in 2 places...

Can I deduct a portion of the mortgage insurance for the period I lived in the house and then another portion during the rental period?