Cersei bought 50 cotton candies. She gave her brother and sister 5 cotton candies each, then gave the remaining one-fourth of them to her cousin. If she ate 12 cotton candies, how many cotton candies are left? Let's think step by step and output the final answer after "####".
user
Cersei gave a total of 5 x 2 = <<5*2=10>>10 cotton candies to her brother and sister.
So, the total cotton candies left were 50 - 10 = <<50-10=40>>40.
And she gave 1/4 x 40 = <<1/4*40=10>>10 cotton candies to her cousin.
So, the total number of cotton candies left was 40 - 10 = <<40-10=30>>30.
Therefore, the total number of cotton candies left after she ate 12 of them is 30 - 12 = <<30-12=18>>18.
#### 18
Cersei bought 50 cotton candies. She gave her brother and sister 5 cotton candies each, then gave the remaining one-fourth of them to her cousin. If she ate 12 cotton candies, how many cotton candies are left?
train