Sam spent $15 and had $18 left.

• Initial amount = Spent + Left
• = $15 + $18 = $33

Sam had $33 initially.
Check: $33 − $15 = $18. ✓