Given a string, merge all consecutive duplicates of a letter and return the result.
aabbbcc
abc
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Given a string, merge all consecutive duplicates of a letter and return the result.

### Response:
abc