Task: Program Execution
Input (English): X, g, o, m, a, g, 1549, p, Q, 5895, l, U, 2107, d, 2261, M, p, 6215, 5545, S, Q, 9783, 4205
Output (English): 1, 2, 3, 4, 5, 6, 8, 9, 11, 12, 14, 16, 17, 20, 21