Task: Program Execution
Input (English): 2909 s 577 b N 3041 2585 F 4669 757 r 3949 1619 4395 P Z 1395 7245 A 4009 G 7585 S 3173 6661
Output (English): 2, 4, 5, 8, 11, 15, 16, 19, 21, 23