Task: Program Execution
Input (English): T 1205 Q 7497 6575 K A 8837 1689 5693 3977 e c 6667 w E k a K 7343 827 9187 6191 C q 4563 Y 6799 T 1955 4153 3535 E
Output (English): 20, 1205, 17, 7497, 6575, 11, 1, 8837, 1689, 5693, 3977, 5, 3, 6667, 23, 5, 11, 1, 11, 7343, 827, 9187, 6191, 3, 17, 4563, 25, 6799, 20, 1955, 4153, 3535, 5