Task: Program Execution
Input (English): 8371 C 2189 h 3743 H 5141 v 1039 U 569 4505 D 6365 1407 6675 197 k V C m l v 6831 W 2467 3043 x I M L l 7395
Output (English): 8371, 3, 2189, 8, 3743, 8, 5141, 22, 1039, 21, 569, 4505, 4, 6365, 1407, 6675, 197, 11, 22, 3, 13, 12, 22, 6831, 23, 2467, 3043, 24, 9, 13, 12, 12, 7395