Task: Program Execution
Input (English): 1163 S 1743 a 4039 b R w 4963 Y 5569 e w 8375 H m 4667 5481 H Z i 6141 w 5709 B i M 2709 D H
Output (English): 1, 3, 5, 9, 11, 14, 17, 18, 22, 24, 28