Task: Program Execution
Input (English): I, J, A, N, K, A, X, 4143, O, j, C, 5857, Q, 287, I, 829, 1541, r, 235
Output (English): 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 13, 15, 18