Lizzy bought 4 bags of apples at the store. Her mom gave her 8 more apples. Now Lizzy has 36 apples. How many apples were in each bag?