Task: Program Execution
Input (English): S, P, 9357, L, k, 9045, O, g, Q, Q, 7251, 2877, G, 61, 5885, Y, z, 1689, y, L, o, 2581, 777
Output (English): 1, 2, 4, 5, 7, 8, 9, 10, 13, 16, 17, 19, 20, 21