Task: Program Execution
Input (English): X, 9771, o, S, 1421, 4703, 3729, 1555, R
Output (English): 21179