A train departs from Lianyungang at 10:00 p.m. on the first day and arrives in Nanjing at 5:00 p.m. on the second day. How many hours has the train traveled in total?
一列火车第一天晚上10时从连云港出发，第二天5时到达南京，这列火车一共行驶了多少小时？
<gadget id="calculator">12 - 10</gadget>
<output>2</output>

<gadget id="calculator">2 + 5</gadget>
<output>7</output>

<result>7</result>