Task: Program Execution
Input (English): 4159 N d 8475 n M 8473 M w h N V d V N a 7115 K 3311 m 1339 907 8649 8215 x i m W P i 7049 y 7409 m T
Output (English): 2, 3, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 20, 25, 26, 27, 28, 29, 30, 32, 34, 35