Task: Program Execution
Input (English): 2985, Z, 1059, 1761, 3601, 4019, o, R, 2877, n, 4509, 3241, Q, A, 5827, 8753, Z
Output (English): 2985, 26, 1059, 1761, 3601, 4019, 15, 18, 2877, 14, 4509, 3241, 17, 1, 5827, 8753, 26