In ancient poetry, five-character quatrains are four-line poems, each with five characters; seven-character quatrains are four-line poems, each with seven characters. There is a collection of poems in which there are 12 more five-character quatrains than seven-character quatrains, but the total number of characters is 240 fewer. How many are the two poems?
古诗中，五言绝句是四句诗，每句都是五个字：七言绝句是四句诗，每句都是七个字．有一诗集，其中五言绝句比七言绝句多12首，总字数反而少了240个字，则两种诗共多少首．
<gadget id="calculator">12 * 5 * 4</gadget>
<output>240</output>

<gadget id="calculator">240 + 240</gadget>
<output>480</output>

<gadget id="calculator">4 * 7</gadget>
<output>28</output>

<gadget id="calculator">4 * 5</gadget>
<output>20</output>

<gadget id="calculator">28 - 20</gadget>
<output>8</output>

<gadget id="calculator">480 / 8</gadget>
<output>60</output>

<gadget id="calculator">60 + 12</gadget>
<output>72</output>

<gadget id="calculator">60 + 72</gadget>
<output>132</output>

<result>132</result>