Task: Program Execution
Input (English): w, u, i, 6935, 8653, 583, R, 5029, R
Output (English): 21200