Alma was making soup, her recipe called for 24 potatoes, 15 carrots, and 4 stalks of celery.How many onions should she add, if it needs to be the same amount as the average of the potatoes and carrots?