Task: Program Execution
Input (English): K S 373 G q G r 8919 4735 3971 7089 e o E x D 6653 4623 n 283 N 8355 6849 q G M 3083 2751 1145 9597
Output (English): 3, 8, 9, 10, 11, 17, 18, 20, 22, 23, 27, 28, 29, 30