Each bag has 24/4=<<24/4=6>>6 kilos of sugar.
6/2=<<6/2=3>>3 kilos of sugar falls to the ground.
24-3=<<24-3=21>>21 kilos of sugar remains.
#### 21