Task: Program Execution
Input (English): 3, 3, ['Z', 'o', 'D', '2773']
Output (English): D