In archery, the number of rings obtained for each shot is either "0" (missing the target), or a natural number not exceeding 10. Players A and B shoot 5 arrows each, and the product of the number of rings obtained by each of the 5 arrows is 1764, but the total number of rings of A is 4 less than that of B. Find the total number of rings of A and B.
在射箭运动中，每射一箭得到的环数或者是"0"(脱靶)，或者是不超过10的自然数．甲、乙两名运动员各射了5箭，每人5箭得到环数的积都是1764，但是甲的总环数比乙少4环．求甲、乙的总环数．
<gadget id="calculator">24 + 28</gadget>
<output>52</output>

<result>52</result>