Xiao Ming has 24 cards. Brother has 52 cards. After the two took out the same cards to send to school, the elder brother left three times as much as Xiao Ming. How many cards did they both send?
小明有24张卡片．哥哥有52张卡片．两人拿出同样的卡片送学校后，哥哥还剩的是小明的3倍，问两人都送了多少张卡片？
<gadget id="calculator">3 * 24</gadget>
<output>72</output>

<gadget id="calculator">72 - 52</gadget>
<output>20</output>

<gadget id="calculator">3 - 1</gadget>
<output>2</output>

<gadget id="calculator">20 / 2</gadget>
<output>10</output>

<result>10</result>