Task: Program Execution
Input (English): 2773 L 5765 3075 7541 2359 V 6189 h i 8443 5303 4591 M D X 9629 4981 r 1091 g m C 5033 5733 E a E d 5361 6889 w 271 m
Output (English): 2773, 12, 5765, 3075, 7541, 2359, 22, 6189, 8, 9, 8443, 5303, 4591, 13, 4, 24, 9629, 4981, 18, 1091, 7, 13, 3, 5033, 5733, 5, 1, 5, 4, 5361, 6889, 23, 271, 13