Task: Program Execution
Input (English): Q, f, 9755, 6057, R, G, 1357, j, 9395, 1409, 9121, R, N, e, E, T, 2443, 2185, J, 4963
Output (English): 3, 4, 7, 9, 10, 11, 17, 18, 20