Task: Program Execution
Input (English): 4749, U, 4693, w, 5225, E, 6239, X, A, S, 705, 773
Output (English): 4749, 21, 4693, 23, 5225, 5, 6239, 24, 1, 19, 705, 773