Task: Program Execution
Input (English): 7973 3003 5731 4279 M 5693 2019 1731 275 N 6987 A 6587 769 8769 1037 a 3131 K 4071 6145 1661 1487 S s 1029 7417
Output (English): 5, 10, 12, 17, 19, 24, 25