Task: Program Execution
Input (English): 1, ['5175', '1865', 'R', '2645', '5767']
Output (English): 5175