Task: Program Execution
Input (English): C A 1665 N w f n 607 1897 h b I 9807 h 3333 9279 f 4355 z 3789 K p v V 8333 4865 5633
Output (English): 3, 1, 1665, 14, 23, 6, 14, 607, 1897, 8, 2, 9, 9807, 8, 3333, 9279, 6, 4355, 26, 3789, 11, 16, 22, 22, 8333, 4865, 5633