Task: Program Execution
Input (English): 7445 1039 3587 8923 K 5057 N h D d 7835 1749 c 1771 S y d 1887 3929 6385 3789 4387 E 8701 e 501 8021 r e a 6697 g 2599 9235 L 9553 5187 A 2721 1191
Output (English): 1, 2, 3, 4, 6, 11, 12, 14, 18, 19, 20, 21, 22, 24, 26, 27, 31, 33, 34, 36, 37, 39, 40