The 7 students in the first group of Class 61 stand in a row. It is required that students A and B must be adjacent to each other. How many ways are there to stand?
六1班第一小组7位同学站成一排，要求甲、乙两位同学必须相邻，共有多少种站法？
<gadget id="calculator">7 - 1</gadget>
<output>6</output>

<gadget id="calculator">6 * 5 * 4 * 3 * 2 * 1</gadget>
<output>720</output>

<gadget id="calculator">720 * 2</gadget>
<output>1_440</output>

<result>1_440</result>