One day after school, Cindy decided to go to the candy store.
At the store, she bought 18 pieces of candy,
The next day, Cindy ate six pieces before school
After school, she ate 4 more pieces of candy.
In total, Cindy ate 10 pieces of candy leaving her with only 8 pieces left.