Task: Program Execution
Input (English): 4919 G 5149 C 9101 4373 m 9189 887 B 1551 D 4429 s v 1649 i 6371 6141 1125 E 6033 l 4157 h L Y 9835 9113 2367 8295 2815
Output (English): 4919, 7, 5149, 3, 9101, 4373, 13, 9189, 887, 2, 1551, 4, 4429, 19, 22, 1649, 9, 6371, 6141, 1125, 5, 6033, 12, 4157, 8, 12, 25, 9835, 9113, 2367, 8295, 2815