Task: Program Execution
Input (English): R, E, T, 787, x
Output (English): R, E, T, x