Task: Program Execution
Input (English): 3545 S c 771 D 2113 9683 3931 855 8475 e F 8735 G m T F X 6891 a 1181 n 5853 4561 f A d i f u 941 7437 1273 f i 7919 2811 8827 V 8333
Output (English): 2, 3, 5, 11, 12, 14, 15, 16, 17, 18, 20, 22, 25, 26, 27, 28, 29, 30, 34, 35, 39