Task: Program Execution
Input (English): 2, 4, ['G', 'M', '4601', '5123']
Output (English): M, 4601, 5123