Task: Program Execution
Input (English): 3, 3, ['g', '1393', 'C', '8723']
Output (English): C