Task: Program Execution
Input (English): 5051, M, 3415, 3659, S, 557, 2059, c, V, P, 2205, 1209, u, 5677, I, B, G, o, 4501, X, 5013, d
Output (English): 1, 3, 4, 6, 7, 11, 12, 14, 19, 21