Task: Program Execution
Input (English): 587 1657 C 509 41 3609 s 9825 625 Z 1215 P v m 7199 1727 j 4699 z Q y f 8837 7505 y 9777 5063 6393 5591 8495 8797 6101 h 6083 4209 6765
Output (English): 587, 1657, 3, 509, 41, 3609, 19, 9825, 625, 26, 1215, 16, 22, 13, 7199, 1727, 10, 4699, 26, 17, 25, 6, 8837, 7505, 25, 9777, 5063, 6393, 5591, 8495, 8797, 6101, 8, 6083, 4209, 6765