Task: Program Execution
Input (English): O, 965, m, R, 6065, 5737, 121, A, u, 8435, 9599, 5603, x, m, 337, r, 8437, g, n, 4631, K
Output (English): 1, 3, 4, 8, 9, 13, 14, 16, 18, 19, 21