Ding Ding and 4 other students are going to Beijing for fun. At the entrance, Ding Ding and the other 4 students need to line up and enter one by one. If Ding Ding is in the third place, the other students can line up randomly. How many ways are there?
丁丁与另外4名同学到北京游玩，在入口处，丁丁和另外4名同学需要排成一排依次进入，如果丁丁排在第三位，其他几位同学任意排，有几种排法？
<gadget id="calculator">4 * 3 * 1 * 2 * 1</gadget>
<output>24</output>

<result>24</result>