Task: Program Execution
Input (English): K, 8685, 7895, 9889, z, 5263, q, d, 9363, 4945, 5797, S, j, 6069, c, 8159, M, k, T, s, 9593, b, l, 1005
Output (English): 1, 5, 7, 8, 12, 13, 15, 17, 18, 19, 20, 22, 23