Choosy Chocolates sold chewy squares and chocolate stars at a ratio of 3 to 8. 45 more chocolate stars were sold than chewy squares. How many chocolate stars and chewy squares were so,d in all?