Task: Program Execution
Input (English): 2907 5773 n 4381 8375 H r 941 801 3031 m D 897 5469 o 8369 3195 4987 7817 i x g a 9349 V 1167 3855 r g 6265 185 8761 2579 8495
Output (English): 2907, 5773, 14, 4381, 8375, 8, 18, 941, 801, 3031, 13, 4, 897, 5469, 15, 8369, 3195, 4987, 7817, 9, 24, 7, 1, 9349, 22, 1167, 3855, 18, 7, 6265, 185, 8761, 2579, 8495