Given a string, merge all consecutive duplicates of a letter and return the result.
aabbbcc
The resulting string after merging all consecutive duplicates in the input string "aabbbcc" is "abc".
Complete the following task based on the instruction and optional input provided.### Instruction:
Given a string, merge all consecutive duplicates of a letter and return the result.

### Input:
aabbbcc

### Output:
The resulting string after merging all consecutive duplicates in the input string "aabbbcc" is "abc".