Task: Program Execution
Input (English): R, E, 2501, S, A, h, 7057, S, g, 9621
Output (English): 18, 5, 2501, 19, 1, 8, 7057, 19, 7, 9621