Task: Program Execution
Input (English): 6989 f 7387 4789 j 3195 8903 j 8083 5597 i 809 c 6967 n 9375 4821 K l 5025 J 3039 9675 M 2021 J p 1391 4637 V X 177 5903
Output (English): 2, 5, 8, 11, 13, 15, 18, 19, 21, 24, 26, 27, 30, 31