Task: Program Execution
Input (English): 4943, a, a, z, x, p, 3345, q, 4807, b, y, 5647, H, E, 8681, 2001, A, 3461, t, H, o, Z, t
Output (English): 1, 7, 9, 12, 15, 16, 18