Task: Program Execution
Input (English): 5899, 9205, R, d, 981, x, 5919, r, n, 237, 3377
Output (English): 1, 2, 5, 7, 10, 11