Task: Program Execution
Input (English): x U s 1821 1911 M 8407 6725 i 5395 A 3139 q D 1735 g 4003 h I 1631 435 9693 9899 h z D m 1141 m M F O c 9867 8911 1133 4579 s z 3731
Output (English): 1, 2, 3, 6, 9, 11, 13, 14, 16, 18, 19, 24, 25, 26, 27, 29, 30, 31, 32, 33, 38, 39