Task: Program Execution
Input (English): 2, 5, ['C', '1435', 'G', 'Q', 'X', '1013']
Output (English): 1435