Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

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

### Input:
aabbbcc

### Response:
abc