Task: Program Execution
Input (English): Z, Y, 4527, l, c, M, j, 9743, 7841, 1237, 5031, 3547, j, N, 2973, X, 6855, 6589
Output (English): 3, 8, 9, 10, 11, 12, 15, 17, 18