Task: Program Execution
Input (English): C h 169 9701 1159 p 1455 J O 8191 c T 1349 1733 417 7339 1251 6467 1707 v 9493 1965 w K 5819 3937 4785 5015 K 7353
Output (English): 3, 8, 169, 9701, 1159, 16, 1455, 10, 15, 8191, 3, 20, 1349, 1733, 417, 7339, 1251, 6467, 1707, 22, 9493, 1965, 23, 11, 5819, 3937, 4785, 5015, 11, 7353