Task: Program Execution
Input (English): C 3839 7329 1907 n g Y 2257 v S C g 6301 2721 8887 m 1861 a 4989 9977 m k h T 4953 9177 1359
Output (English): 3, 3839, 7329, 1907, 14, 7, 25, 2257, 22, 19, 3, 7, 6301, 2721, 8887, 13, 1861, 1, 4989, 9977, 13, 11, 8, 20, 4953, 9177, 1359