10 students lined up to take pictures, and asked Xiaohong, Xiaoling, and Xiaoli to line up in the order of left, middle, and right. How many different ways are there in total?
10个同学排成一排拍照，要求小红、小玲、小丽三人按左、中、右的顺序排在一起，一共有多少种不同的排法．
<gadget id="calculator">10 - 3</gadget>
<output>7</output>

<gadget id="calculator">7 + 1</gadget>
<output>8</output>

<result>8</result>