Task: Program Execution
Input (English): 9153 8943 1797 6047 r 5037 N 4391 5539 R 1193 s 481 5975 3367 C A 1985 R F 2583 g 7255 v N 5401 d w W a 9885 X F 4541 4961
Output (English): 9153, 8943, 1797, 6047, 18, 5037, 14, 4391, 5539, 18, 1193, 19, 481, 5975, 3367, 3, 1, 1985, 18, 6, 2583, 7, 7255, 22, 14, 5401, 4, 23, 23, 1, 9885, 24, 6, 4541, 4961