Task: Program Execution
Input (English): D, Q, m, 5765, w, 1963, 2665, J, I, 1473, f, 1, 1205, 2183, w, v, 9, 9257
Output (English): 4, 6, 7, 10, 12, 13, 14, 17, 18