Task: Program Execution
Input (English): 6103 M 8699 8341 4855 8375 1761 8273 X L A J H V a b c 8739 X m 9213 8569 5623 4441 v 5883 93 d X 6867
Output (English): 6103, 13, 8699, 8341, 4855, 8375, 1761, 8273, 24, 12, 1, 10, 8, 22, 1, 2, 3, 8739, 24, 13, 9213, 8569, 5623, 4441, 22, 5883, 93, 4, 24, 6867