Task: Program Execution
Input (English): o, x, g, Q, 5187, 5941, 3211, 7761, j, 5073, 4917, 2717, 2879, j, w, F, 551, N, F, J, 1951
Output (English): 1, 2, 3, 4, 9, 14, 15, 16, 18, 19, 20