Task: Program Execution
Input (English): 7963 7895 5737 s 9235 B 6111 g 7127 2541 3439 D l K 5047 m 1997 q Q 7433 N 7447 9399 8625 o 9093 1259 P N w 8565 I X c q X
Output (English): 1, 2, 3, 5, 7, 9, 10, 11, 15, 17, 20, 22, 23, 24, 26, 27, 31