Task: Program Execution
Input (English): A, 5823, x, k, k, i, 8507, l, m, 2867, s, f, t, 8855, 6123, U, 5589, z, O, 2227, 809, 6895, K
Output (English): 2, 7, 10, 14, 15, 17, 20, 21, 22