Task: Program Execution
Input (English): 2791, 9105, J, 5289, 4815, q, 4997, Q, 1373, S, g, 3127
Output (English): 2791, 9105, 10, 5289, 4815, 17, 4997, 17, 1373, 19, 7, 3127