Task: Program Execution
Input (English): 1841, 5149, S, 9607, 4699, 9195, 7507, 7669, 8195, 6411, 5953, 411, T, 3669, X, U, 715
Output (English): 1841, 5149, 19, 9607, 4699, 9195, 7507, 7669, 8195, 6411, 5953, 411, 20, 3669, 24, 21, 715