Task: Program Execution
Input (English): 3191 5263 N 2945 N 923 6633 I V 197 7845 2585 6795 2201 D 3179 4703 7173 629 V L 7149 w u 8083
Output (English): 3, 5, 8, 9, 15, 20, 21, 23, 24