4. The Little Fairy has the same number of magic balls and magic wands. If the number of magic balls doubles, and the number of magic wands is halved, the magic balls will be 9 more than the magic wands. The Little Fairy originally had $\qquad$ magic balls.
$6$