Task: Program Execution
Input (English): U, x, 5861, 7541, 2675, z, 1741, u, O, p, S, m, 9557
Output (English): 1, 2, 6, 8, 9, 10, 11, 12