The school organizes a movie watching. Three good friends, Xiao Liang, Xiao Hua and Xiao Ming, want to get three tickets with consecutive numbers. Now there are 12 tickets with consecutive numbers. How many different ways do they have?
学校组织看电影，小亮、小华和小明三个好朋友，想拿三张连号的票，现在有12张连号票，他们一共有多少种不同的拿法．
<gadget id="calculator">12 - 2</gadget>
<output>10</output>

<result>10</result>