Task: Program Execution
Input (English): X, i, 5325, j, Q, 3691, 5607, n, O, X, 2011
Output (English): 24, 9, 5325, 10, 17, 3691, 5607, 14, 15, 24, 2011