Task: Program Execution
Input (English): 251 2203 G D 9943 7343 8749 W m N H F J 7127 1923 1927 N 7805 g u w 623 947 7287 3853 1693 h V A 5309 63 4945 C 7603 1211 a 9777 6009
Output (English): 1, 2, 5, 6, 7, 14, 15, 16, 18, 22, 23, 24, 25, 26, 30, 31, 32, 34, 35, 37, 38