Task: Program Execution
Input (English): R, 1885, 3651, T, 4711, 7799, 1985, 5095, 5731, 565, e, R, V, 9207, y, 3605, 8705, 4537, 4415, u, 8761, 4905
Output (English): 2, 3, 5, 6, 7, 8, 9, 10, 14, 16, 17, 18, 19, 21, 22