Task: Program Execution
Input (English): 1, ['6137', 'd', '9741', 'R']
Output (English): 6137