Task: Program Execution
Input (English): Q 2683 z x r p 669 1261 O 2175 6487 4443 X 8981 L 9409 5777 2539 D 1745 769 H 1227 i 2295 689 7817 2535 A 7 D o S 6771 7769
Output (English): 17, 2683, 26, 24, 18, 16, 669, 1261, 15, 2175, 6487, 4443, 24, 8981, 12, 9409, 5777, 2539, 4, 1745, 769, 8, 1227, 9, 2295, 689, 7817, 2535, 1, 7, 4, 15, 19, 6771, 7769