Task: Program Execution
Input (English): J, O, 5717, 9697, 2935, 5341, 383, 6145, 2033, X, 2907, M, m, o, N, K, Y
Output (English): 1, 2, 10, 12, 13, 14, 15, 16, 17