Task: Program Execution
Input (English): Q, c, 9923, 9761, 4077, a, h, F, 7841, 1309, I, J, e, l, k, 9377, 7261
Output (English): 3, 4, 5, 9, 10, 16, 17