Task: Program Execution
Input (English): S 7181 S x 7567 4099 s j 4757 p F 4957 L E 5199 i 4691 7511 O 1787 149 9249 x p 4903 8233 9461 w t 563 2435 2341 D J
Output (English): 19, 7181, 19, 24, 7567, 4099, 19, 10, 4757, 16, 6, 4957, 12, 5, 5199, 9, 4691, 7511, 15, 1787, 149, 9249, 24, 16, 4903, 8233, 9461, 23, 20, 563, 2435, 2341, 4, 10