Task: Program Execution
Input (English): 6503 7631 9759 R P 1577 r t 3705 S M Q S 1025 o q 4775 9735 U 9787 8881 323 4623 h 6879 2503 s a 9291 887 o 8339
Output (English): 1, 2, 3, 6, 9, 14, 17, 18, 20, 21, 22, 23, 25, 26, 29, 30, 32