Task: Program Execution
Input (English): Q, 4039, 9781, m, I, L, M, 5997, 8295, 131, 63, g, h, x, 8633, 8307, 4385
Output (English): 2, 3, 8, 9, 10, 11, 15, 16, 17