solution for beerAndFries