Task: Program Execution
Input (English): n, 8905, g, O, a, Q, e, 8595, 437, j, 7339, 4391
Output (English): 2, 8, 9, 11, 12