In a pastry shop, the number of cakes was twice the number of cream puffs. After 90 cakes and 42 cream puffs were sold, the ratio of the number of cakes left to the number of cream puffs left was 2 : 5. How many cakes and cream puffs were in the shop at first?