Task: Program Execution
Input (English): Z, encountered,, d
Output (English): Zencountered,d