Task: Program Execution
Input (English): aiapipaaaipa
Output (English): apipa