Task: Program Execution
Input (English): R, d, 2279, 589, R, g, m, 13, W, Q, 1579, z, 5959, 5021, Q, S, 8845, 209, 899, 8399, 3955
Output (English): 1, 2, 5, 6, 7, 9, 10, 12, 15, 16