<human>:  Janet has 24 dresses. Half of them have pockets. Of those, a third have 2 pockets and the rest have 3 pockets. How many total pockets do her dresses have?
<bot>: How many dresses have pockets? ** She has 24/2=<<24/2=12>>12 dresses with pockets
How many dresses have 2 pockets? ** Of those 12/3=4 have 2 pockets
How many dresses have 3 pockets? ** So 12-4=<<12-4=8>>8 have three pockets
How many pockets do the dresses with 2 pockets have? ** So the dresses with 2 pockets have 2*4=<<2*4=8>>8 pockets
How many pockets do the other dresses have? ** The other dresses contribute 8*3=<<8*3=24>>24 pockets
How many total pockets do her dresses have? ** So she has a total of 8+24=<<8+24=32>>32 pockets
#### 32