Tapanga and Corey have 66 candies together. However, Tapanga has 8 more candies than Corey. How many candies does Corey have?
Let x = the total number of candies Corey has.
x + 8 = the total number of candies Tapanga has.
The equation for the total number of candies is x + (x + 8) = 66
Combining like terms, we get 2x + 8 = 66
Subtracting 8 from both sides, we get 2x = 58
Dividing both sides by 2, we get x = <<29=29>>29, so Corey has 29 candies.
#### 29
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
You are solving math problems. Here are some examples of how to solve the task:

Harry is 50 years old. His father is currently 24 years older than he is. How old was his mother when she gave birth to him if she is younger than his father by 1/25 of Harry's current age?Harry's father is 50 years + 24 years = <<50+24=74>>74 years old.
Harry's mother is 1/25 * 50 years = <<1/25*50=2>>2 years younger than his father.
So she is currently 74 years - 2 years = <<74-2=72>>72 years old.
So when Harry was born, she was 72 years - 50 years = <<72-50=22>>22 years old.
#### 22[END]

The mayor commissioned two artists to paint 50 murals around the city. Once the work was completed, Celina was paid $1,000 more than 4 times the amount Diego got. If the mayor paid the two a total of $50,000, how much did Diego get?Let d be Diego’s payment
Both artists were paid (1000 + 4 * d ) + d = 50000 dollars
This means that 5d = (50000 - 1000) dollars
Therefore Diego was paid d = 49000 / 5 = <<49000/5=9800>>9800 dollars
#### 9800[END]

Now, solve this next question in the style of the above examples:

Tapanga and Corey have 66 candies together. However, Tapanga has 8 more candies than Corey. How many candies does Corey have?

### Response:
Let x = the total number of candies Corey has.
x + 8 = the total number of candies Tapanga has.
The equation for the total number of candies is x + (x + 8) = 66
Combining like terms, we get 2x + 8 = 66
Subtracting 8 from both sides, we get 2x = 58
Dividing both sides by 2, we get x = <<29=29>>29, so Corey has 29 candies.
#### 29