Marcus had 18 pebbles. He skipped half of them across the lake, but Freddy gave him another 30 pebbles. How many pebbles does Marcus have now?
Marcus had 18/2 = <<18/2=9>>9 pebbles left.
After Freddy gave him more, he has 9 + 30 = <<9+30=39>>39 pebbles.
#### 39
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:

A sack of rice, which is 50 kilograms,  costs $50. If David sells it for $1.20 per kilogram, how much will be his profit?David's revenue for the 50 kilograms of rice is $1.20 x 50 = $<<1.20*50=60>>60.
So, his profit is $60 - $50 = $<<60-50=10>>10.
#### 10[END]

Amber and Josh are flying to France for vacation.  Their flight leaves at 8:00 pm and as an international flight, it's recommended that they check in 2 hours early.  It will take 45 minutes to drive to the airport and another 15 minutes to park their vehicle and make their way to the terminal.  What is the latest time they can leave their house to make it to the airport in time?It will take 45 minutes to drive to the airport and 15 minutes to park so that's 45+15 = <<45+15=60>>60 minutes (1 hour)
They need to check in 2 hours early and it will 1 hour to drive there and park so that's 2+1 = <<2+1=3>>3 hours
Their flight leaves at 8:00 pm and it will take 3 hours to drive there and check in so the latest they can leave is 8-3 = <<8-3=5>>5:00 pm
#### 5[END]

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

Marcus had 18 pebbles. He skipped half of them across the lake, but Freddy gave him another 30 pebbles. How many pebbles does Marcus have now?

### Response:
Marcus had 18/2 = <<18/2=9>>9 pebbles left.
After Freddy gave him more, he has 9 + 30 = <<9+30=39>>39 pebbles.
#### 39