An apartment building has 12 floors and half of them are full. The remaining floors are all at half-capacity. If each floor has 10 apartments and each apartment has four people, how many people are in the building?
Half the floors are full, so there are 12 floors * 0.5 = 
<gadget id="calculator">12*0.5</gadget>
<output>6</output>
6 floors that are full.
So the full floors contain 6 floors * 10 apartments = 
<gadget id="calculator">6*10</gadget>
<output>60</output>
60 apartments.
The remaining floors are at half-capacity, so there are 12 floors - 6 full floors = 
<gadget id="calculator">12-6</gadget>
<output>6</output>
6 half-full floors.
Each of these floors therefore contains 10 apartments * 0.5 = 
<gadget id="calculator">10*0.5</gadget>
<output>5</output>
5 apartments.
So on the half-full floors, there are a total of 6 floors * 5 apartments = 
<gadget id="calculator">6*5</gadget>
<output>30</output>
30 apartments.
In total, there are 30 + 60 = 
<gadget id="calculator">30+60</gadget>
<output>90</output>
90 filled apartments in the building.
This means there are 90 apartments * 4 people per apartment = 
<gadget id="calculator">90*4</gadget>
<output>360</output>
360 people in the building.

<result>360</result>