The square root of half the number of bees in a swarm has flown out upon a bush; eight-ninths of the whole swarm has remained behind; Then, one female and one male bee exit the bush to be caught by a bird. How many total bees were there at the start?