6 people line up in a row, with A at the head and B at the end, how many ways are there?
6个人排成一排，甲当排头，乙不当排尾，共有多少种排法？
<gadget id="calculator">4 * 4 * 3 * 2 * 1 * 1</gadget>
<output>96</output>

<result>96</result>