In the city, there is a block of flats. This block has 12 floors. Half of the floors have 6 apartments and the other half have 5 apartments. One apartment can accommodate a maximum of 4 residents. What is the maximum number of residents that can live in this block of flats?
Half of the floors have different numbers of apartments. Half the number of floors is 12 floors / 2 = 
<gadget id="calculator">12/2</gadget>
<output>6</output>
6 floors.
One half of the block consists of 6 floors * 6 apartments/floor = 
<gadget id="calculator">6*6</gadget>
<output>36</output>
36 apartments.
And the other half consists of 6 floors * 5 apartments/floor = 
<gadget id="calculator">6*5</gadget>
<output>30</output>
30 apartments.
There are 30 + 36 = 
<gadget id="calculator">30+36</gadget>
<output>66</output>
66 apartments on all floors in the block.
All the apartments can therefore accommodate 66 apartments * 4 residents/apartment = 
<gadget id="calculator">66*4</gadget>
<output>264</output>
264 residents.

<result>264</result>