Task: Program Execution
Input (English): p D 7699 7955 K 1689 815 C 1827 1171 h e 5485 5635 B 835 k H 835 8799 6567 T 405 6875 I s 2769 6229 6893 841 I 4031
Output (English): 16, 4, 7699, 7955, 11, 1689, 815, 3, 1827, 1171, 8, 5, 5485, 5635, 2, 835, 11, 8, 835, 8799, 6567, 20, 405, 6875, 9, 19, 2769, 6229, 6893, 841, 9, 4031