Task: Program Execution
Input (English): 3461 k 2269 x 3515 6635 3819 1793 y M J 2771 1175 7599 7391 4811 P 5601 o P o 9333 2991 D A 4467 V 7951 M Q 959
Output (English): 2, 4, 9, 10, 11, 17, 19, 20, 21, 24, 25, 27, 29, 30