Task: Program Execution
Input (English): f 6977 9655 3439 f 3083 1013 2521 W 2159 13 5849 S F 2427 687 2031 V i 4441 V 6017 Q 9409 8161 L X 1029 9331 s 7751 Q F H s B I C w 1015
Output (English): 6, 6977, 9655, 3439, 6, 3083, 1013, 2521, 23, 2159, 13, 5849, 19, 6, 2427, 687, 2031, 22, 9, 4441, 22, 6017, 17, 9409, 8161, 12, 24, 1029, 9331, 19, 7751, 17, 6, 8, 19, 2, 9, 3, 23, 1015