Task: Program Execution
Input (English): N 9249 o X 8165 8029 J r x W g t p 5745 9613 2159 b 149 4423 w 4737 5315 1723 m 5231 r T t u q 3857 z 125 3851 f 4995 3489 3639 e 1537
Output (English): 2, 5, 6, 14, 15, 16, 18, 19, 21, 22, 23, 25, 31, 33, 34, 36, 37, 38, 40