Task: Program Execution
Input (English): i 4457 3163 X 5147 L 9347 5081 253 1861 1727 3511 8551 5189 5365 Q 7993 k v M 3269 8987 S 2447 N S 5685 M L 9859 P Q
Output (English): 2, 3, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 21, 22, 24, 27, 30