Task: Program Execution
Input (English): 6097, o, 8511, 8351, q, x, 1769, x, 8227, 4905, A, 2145, 9885
Output (English): 6097, 15, 8511, 8351, 17, 24, 1769, 24, 8227, 4905, 1, 2145, 9885