Task: Program Execution
Input (English): r 1323 2155 G 8493 4643 9923 4673 s 7931 1697 8753 e 4001 8197 8817 7905 2751 1977 4437 3079 M q V v i 8575 a
Output (English): 2, 3, 5, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 27