Task: Program Execution
Input (English): i 2469 M 2671 z A Z y i 3611 5989 4693 u 4171 715 9055 7313 R 4857 D 7999 1281 z 2969 X I 3651 6987 9383 i 1809
Output (English): 1, 3, 5, 6, 7, 8, 9, 13, 18, 20, 23, 25, 26, 30