Xiao Ming went to bed at 8:00 p.m. and got up at 6:00 a.m. the next day. How many hours did he sleep in total?
小明晚上8时睡觉，第二天早上6时起床，一共睡眠多少小时．
<gadget id="calculator">12 - 8</gadget>
<output>4</output>

<gadget id="calculator">4 + 6</gadget>
<output>10</output>

<result>10</result>