Task: Program Execution
Input (English): 4655, W, 2077, 1831, A, 4643, g, s
Output (English): 4655, 23, 2077, 1831, 1, 4643, 7, 19