Task: Program Execution
Input (English): 9377 7913 i Q 5841 q q 9683 Q p 1579 2013 2965 u G C 1969 N 4101 J Q c T S 6067 x V r 8311 B G 3721 S 6599 q 9787 h 3827
Output (English): 1, 2, 5, 8, 11, 12, 13, 17, 19, 25, 29, 32, 34, 36, 38