Task: Program Execution
Input (English): d 2811 J M R t I X 4071 x 1723 8047 3495 1253 S O 2781 189 F 5037 H s 7865 T 8079 4927 x h 9639 I 5923 M 1781 189 3631
Output (English): 1, 3, 4, 5, 6, 7, 8, 10, 15, 16, 19, 21, 22, 24, 27, 28, 30, 32