I paid for two mortgages in 2016 until one house sold, can I deduct both mortgages?
No. But you can deduct the mortgage interest on both, as reported on the 1098-Mortgage Interest Statement for each.