Task: Program Execution
Input (English): 6851 7685 N E 9255 7167 417 D l 8275 5199 l h 2513 Z U n 6947 q X G 475 2211 8331 n s U Z 2449 137 w 1237 q S 1129
Output (English): 1, 2, 5, 6, 7, 10, 11, 14, 18, 22, 23, 24, 29, 30, 32, 35