Task: Program Execution
Input (English): R, B, 8459, E, 9597, 1831, t, N, r, 9461, M, 2897, Z, 9713
Output (English): 3, 5, 6, 10, 12, 14