A certain school’s lower grade students and middle grade students account for (5/7) of the whole school’s students, the middle grade students and upper grade students are 10 fewer than the total number of students in the school (3/5), there are 122 students in the middle grade, and the whole school has a total of students how many people?
某校低年级学生和中年级学生占全校学生的(5/7)，中年级学生和高年级学生比全校学生总数的(3/5)少10人，中年级有学生122人，全校共有学生多少人？
<gadget id="calculator">122 + 10</gadget>
<output>132</output>

<gadget id="calculator">3 / 5</gadget>
<output>3/5 = around 0.6</output>

<gadget id="calculator">5 / 7</gadget>
<output>5/7 = around 0.714286</output>

<gadget id="calculator">1 - (5/7)</gadget>
<output>2/7 = around 0.285714</output>

<gadget id="calculator">(3/5) - (2/7)</gadget>
<output>11/35 = around 0.314286</output>

<gadget id="calculator">132 / (11/35)</gadget>
<output>420</output>

<result>420</result>