Task: Program Execution
Input (English): 1, 1, ['9027', 'R', '5051', '8815']
Output (English): 7209