What will be the output of "aaabbaccccc"

what will be the output of “aaabbaccccc”

the output would be abac