Johan has a ten-bedroom house with 8 walls in each room. He paints 3/5 of the rooms in the house green and paints the rest of the rooms with purple color. How many walls in the house did he paint purple?
Since Cristian's house has ten rooms, he painted 3/5*10 = 
<gadget id="calculator">3/5*10</gadget>
<output>6</output>
6 rooms with green color.
The number of rooms he painted with purple is 10-6 = 
<gadget id="calculator">10-6</gadget>
<output>4</output>
4 rooms.
Since each room in the house has eight walls, the number of walls painted purple is 8*4= 
<gadget id="calculator">8*4</gadget>
<output>32</output>
32.

<result>32</result>