Task: Program Execution
Input (English): H c 9841 5663 d 4827 V 2387 s l 669 h B p g 3905 Q F 1435 1907 Z 821 6229 F 2419 X 7973 p 5839 4621 D 7119 U k
Output (English): 8, 3, 9841, 5663, 4, 4827, 22, 2387, 19, 12, 669, 8, 2, 16, 7, 3905, 17, 6, 1435, 1907, 26, 821, 6229, 6, 2419, 24, 7973, 16, 5839, 4621, 4, 7119, 21, 11