Task: Program Execution
Input (English): 1, ['629', 'd', 'M']
Output (English): 629, d