Task: Program Execution
Input (English): the, r, i, and, P, G, H
Output (English): theriandPGH