Task: Program Execution
Input (English): H 7595 X C 7185 f R W 309 8821 R 8863 m D 7863 9385 Y 9175 7355 G 8603 l 7807 981 k 7575
Output (English): 8, 7595, 24, 3, 7185, 6, 18, 23, 309, 8821, 18, 8863, 13, 4, 7863, 9385, 25, 9175, 7355, 7, 8603, 12, 7807, 981, 11, 7575