The experimental kindergarten bought some books and distributed them to the large, medium and small classes according to the ratio of 4:3:2. It is known that the large class has 36 more books than the small class. How many books are allocated to the middle class?
实验幼儿园买来一些图书，按4：3：2分给大、中、小班，已知大班比小班多分了36本图书，中班分了多少本图书？
<gadget id="calculator">4 - 2</gadget>
<output>2</output>

<gadget id="calculator">36 / 2</gadget>
<output>18</output>

<gadget id="calculator">18 * 3</gadget>
<output>54</output>

<result>54</result>