Mortgage Interest

Please help.  I want to ensure I enter this info correctly.  In the military and relocated from my previous duty station middle of last year.  We kept our home from the previous duty location and are renting it out.  I input the number of days that we lived in it and the number of days it was rented into TurboTax desktop.     

For mortgage interest, do I input the mortgage interest from 1098 in the federal taxes section AND then the same amount in the rental expense section?  Does TurboTax calculate everything and put in the right place?

 

Thanks