Caleb was left with 40 - 3 - 3 - 5 - 2 = <<40-3-3-5-2=27>>27 dandelion puffs to give to his friends.
They each received 27/3 = <<27/3=9>>9 dandelion puffs
#### 9