Task: Program Execution
Input (English): 5, 5, ['C', 'b', '5401', '2477', 'o']
Output (English): o