There were 90/3 = <<90/3=30>>30 lollipops.
So, 90 - 30 = <<90-30=60>>60 are candy canes.
Each boy received 3 lollipops, so there were 30/3 = 10 boys.
Each girl received 2 candy canes, so there were 60/2 = 30 girls.
Altogether, there were 10 + 30 = <<10+30=40>>40 boys and girls.
#### 40