Task: Program Execution
Input (English): 9747 207 691 c 4671 4699 t S l 9749 x 6853 d N F 6565 D 5539 W f u a g R 2479 5691 2429 j j q 4895 8363 l 9529 5249
Output (English): 9747, 207, 691, 3, 4671, 4699, 20, 19, 12, 9749, 24, 6853, 4, 14, 6, 6565, 4, 5539, 23, 6, 21, 1, 7, 18, 2479, 5691, 2429, 10, 10, 17, 4895, 8363, 12, 9529, 5249