A bookshelf has upper, middle and lower floors, and there are 264 books in total. First take half of the average score from the upper layer and put it in the middle and lower layers; then take half of the average score from the middle layer and put it in the upper and lower layers; finally take half of the average score from the lower layer and put it in the upper and middle layers. At this time, there are as many books on the third floor. How many books are there in the upper layer?
一个书架有上、中、下三层，一共有264本书．先从上层取出一半平均分放到中、下两层；再从中层取出一半平均分放到上、下两层；最后从下层取出一半平均分放到上、中两层．此时，三层的书一样多．最初上层有多少本书．
<gadget id="calculator">264 / 3 / 2 / 2</gadget>
<output>22</output>

<gadget id="calculator">22 * 2</gadget>
<output>44</output>

<result>44</result>