If we line up with ten people in each line, then there will be one person left, if we line up with nine people in each line, there will still be one person left, if we line up with eight, seven, six, five, four If one, three, or two people line up, there is one person left, and the total number of us is less than 5000. How many people are there in total?
如果我们按每一行十个人排队，那么就有一个人剩下来，如果我们按每行九个人排队，还是有一个人剩下来，如果我们按每一行是八个、七个、六个、五个、四个、三个、两个人排队，都有一个人剩下来，而且我们的总数少于5000人，试问我们一共是几个人．
<gadget id="calculator">2 * 2 * 2 * 3 * 3 * 5 * 7</gadget>
<output>2_520</output>

<gadget id="calculator">2_520 + 1</gadget>
<output>2_521</output>

<result>2_521</result>