Before the start of the school sports meeting, the students from Class 6 and 2 who participated in the entrance ceremony were assembling the whole team. The teacher arranged the students into a square array of 6 rows and 6 columns, and asked each row to go from left to right 1, 2, 1, 2, 1, 2 Report the number, and then report the number 1, 2, 3, 1, 2, 3 in each column from front to back. In the two reports, how many students have the same number reported.
校运动会开始前，六2班参加入场式的同学正在集合整队，老师将同学们排成了6行6列的方阵，并要求各行从左至右1，2，1，2，1，2报数，然后各列从前到后1，2，3，1，2，3报数，在两次报数中，所报数字相同的同学有多少个．
<gadget id="calculator">3 * 2</gadget>
<output>6</output>

<gadget id="calculator">6 + 6</gadget>
<output>12</output>

<result>12</result>