Task: Program Execution
Input (English): U 7205 R 5121 S N 119 1369 u G 517 8295 1773 Z 8981 e 141 735 3623 573 547 7529 v p v 7585 r L 5397 2297 g u 6127 i v Q
Output (English): 2, 4, 7, 8, 11, 12, 13, 15, 17, 18, 19, 20, 21, 22, 26, 29, 30, 33