Class 4 and Class 5 are running for the class committee. The students choose 2 of Xiao Hong, Xiao Wang and Xiao Ming to serve as the principal and deputy class monitors. How many different ways are there?
四5班竞选班委，同学们在小红、小王、小明三人中，选2人担任正、副班长，有多少种不同的选法．
<gadget id="calculator">3 - 1</gadget>
<output>2</output>

<gadget id="calculator">3 * 2</gadget>
<output>6</output>

<result>6</result>