Task: Program Execution
Input (English): 2909 X 6975 h 2193 9007 1693 7265 7721 K Z Q X V K 6845 5839 B J S b 7357 V 1251 K 2965 H 4355 x 1633 G F 5765 G 5779 941 O h
Output (English): 2, 4, 10, 11, 12, 13, 14, 15, 18, 19, 20, 21, 23, 25, 27, 29, 31, 32, 34, 37, 38