Task: Program Execution
Input (English): 895, 6683, N, k, 605, j, R, 8287, 5329, D, 543, X
Output (English): 1, 2, 5, 8, 9, 11