Task: Program Execution
Input (English): 49, Q, r, 9829, j, 6103, E, Z, 4577, M, 7359
Output (English): 49, 17, 18, 9829, 10, 6103, 5, 26, 4577, 13, 7359