Task: Program Execution
Input (English): I, M, 7715, T, b, j, k, Z, R, 8331, 9469, Q, 2773
Output (English): 9, 13, 7715, 20, 2, 10, 11, 26, 18, 8331, 9469, 17, 2773