Task: Program Execution
Input (English): 57, N, 17, v, W, 1865, c, V, F, q, 5203
Output (English): 2, 4, 5, 7, 8, 9, 10