Task: Program Execution
Input (English): B 3035 9669 S 7531 3391 1629 2347 2509 1599 6993 w 6259 R z J m 5395 m 9175 h 2433 d e 1853 X Q 8947 575 903 8757 f
Output (English): 2, 3035, 9669, 19, 7531, 3391, 1629, 2347, 2509, 1599, 6993, 23, 6259, 18, 26, 10, 13, 5395, 13, 9175, 8, 2433, 4, 5, 1853, 24, 17, 8947, 575, 903, 8757, 6