Task: Program Execution
Input (English): C I 4677 4847 9163 J a 5311 L c m 7097 K K T Z U 321 5927 Y O 861 T P D L 2761 4959 b 9613 579 2807 H 3157
Output (English): 3, 9, 4677, 4847, 9163, 10, 1, 5311, 12, 3, 13, 7097, 11, 11, 20, 26, 21, 321, 5927, 25, 15, 861, 20, 16, 4, 12, 2761, 4959, 2, 9613, 579, 2807, 8, 3157