After Ricky’s little sister takes 4 roses, Ricky has 40 - 4 = <<40-4=36>>36 roses
Ricky can give each person 36 / 9 = <<36/9=4>>4 roses
#### 4