Chloe and Sam had an eqaul 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?
Let's assume that Chloe and Sam had \(x\) apples at first.
So then,
\(x+3={60 \over 100}(x+23)\)
\(100x+300=60x+1380\)
\(40x=1080\)
⇒\(x=27\)
∴ Sam had 27 apples at first.