Task: Program Execution
Input (English): ggggxxwwxg
Output (English): gggg