Chloe and Sam had an equal number of apples at first. Chloe bought 3 more apples and Sam bought 23 more

apples. Chloe then had 60% as many apples as Sam. How many apples did Sam have at first?