In the mathematics competition, four students won the first, second, third, and fourth prizes respectively. At the prize distribution meeting, the students who asked for the first, second, third, and fourth prizes sat in seats 1, 2, 3, and 4 respectively. In the end, they all sat in the wrong seat, so how many ways are there in total?
数学竞赛有四位同学分别得一、二、三、四等奖，发奖大会上，要求得一、二、三、四等奖的同学分别依次坐在第1、2、3、4号座位上，结果他们都坐错了座位，那么共有多少种坐法．
<gadget id="calculator">3 + 3 + 3</gadget>
<output>9</output>

<result>9</result>