Task: Program Execution
Input (English): v 4509 2457 7127 h 7107 5637 H r 2223 H 9053 4381 1653 n W H H 3961 3583 G 7299 c t m W
Output (English): 2, 3, 4, 6, 7, 10, 12, 13, 14, 19, 20, 22