Task: Program Execution
Input (English): 4387 8243 m S p Q q 8677 M z F Z 5345 G 7943 2791 7765 D U 9535 K 9173 4833 3041 387 8147 q o J 609
Output (English): 4387, 8243, 13, 19, 16, 17, 17, 8677, 13, 26, 6, 26, 5345, 7, 7943, 2791, 7765, 4, 21, 9535, 11, 9173, 4833, 3041, 387, 8147, 17, 15, 10, 609