Task: Program Execution
Input (English): o, 4497, r, X, Y, P, M, M, 7221, P, O, 8005, 2331, 3011, V, 525, a, g, 2873, 8129, V, E, Z
Output (English): 1, 3, 4, 5, 6, 7, 8, 10, 11, 15, 17, 18, 21, 22, 23