Task: Program Execution
Input (English): 1565 N t v 9335 O g Y 559 n 8107 X 4935 p P 1011 5171 8155 Y Y j P 1769 X 4971 5341 343 d
Output (English): 2, 3, 4, 6, 7, 8, 10, 12, 14, 15, 19, 20, 21, 22, 24, 28