Task: Program Execution
Input (English): 2, ['4055', 'M', 'O', '6001']
Output (English): 4055, O