There are 58 students in Class 1 of June. Some students are selected to participate in the dance team rehearsal. The 7 people stand in a row and the 8 people stand in a row. How many students are participating in the dance team?
六1班58个名同学，选出部分同学参加舞蹈队排练，7人站一排刚好站完，8人站一排也正好站完，参加舞蹈队的是多少个同学．
<gadget id="calculator">8 * 7</gadget>
<output>56</output>

<result>56</result>