Task: Program Execution
Input (English): 2, ['M', '5735', '1053', '1707', 'p', 'p']
Output (English): M, 5735