Task: Program Execution
Input (English): 1343 2073 f S M 945 1783 7173 t E n D 7959 2509 2933 7899 n h 9585 W P s 1623 g c c b 2761 2977 4767 N y 4867 L 6305 9181 7311 3865 V 7685
Output (English): 1, 2, 6, 7, 8, 13, 14, 15, 16, 19, 23, 28, 29, 30, 33, 35, 36, 37, 38, 40