Task: Program Execution
Input (English): 341, R, b, M, e, 5577, 9229, 5289, v, 7253, 6721, 6771, 2201, v, S
Output (English): 2, 3, 4, 5, 9, 14, 15