Task: Program Execution
Input (English): 2, 2, ['P', 'm', 'a']
Output (English): m