Task: Program Execution
Input (English): 1, 3, ['P', 'E', 'x']
Output (English): x, E, P