Task: Program Execution
Input (English): 8785 J w 121 527 p K 923 T l t Q 5045 D p 8111 8159 n l l 527 H 6305 t I 8647 9729 857 m
Output (English): 2, 3, 6, 7, 9, 10, 11, 12, 14, 15, 18, 19, 20, 22, 24, 25, 29