Task: Program Execution
Input (English): 5, 5, ['4871', 'p', '3495', 'O', 'g', '4467', 'i', 'j', 'X', 'E', '9215']
Output (English): g