Task: Program Execution
Input (English): f K 245 9953 w 7987 479 D 7873 P k R a D W b 8995 8795 7257 m 4245 t K 7721 6175 7399 s 965 b Z
Output (English): 6, 11, 245, 9953, 23, 7987, 479, 4, 7873, 16, 11, 18, 1, 4, 23, 2, 8995, 8795, 7257, 13, 4245, 20, 11, 7721, 6175, 7399, 19, 965, 2, 26