Task: Program Execution
Input (English): R, 2927, i, 4807, 9759, 2357, 271, 3969, R
Output (English): 24090