Task: Program Execution
Input (English): 325 7943 6587 J 3201 h C U 101 m K e 65 3567 327 I 105 7119 3767 1847 L 8579 9097 d 2565 h 515 V h
Output (English): 325, 7943, 6587, 10, 3201, 8, 3, 21, 101, 13, 11, 5, 65, 3567, 327, 9, 105, 7119, 3767, 1847, 12, 8579, 9097, 4, 2565, 8, 515, 22, 8