Task: Program Execution
Input (English): 2, 3, ['e', 'Z', 'P']
Output (English): ZP