Task: Program Execution
Input (English): 3417 m 1309 E 8149 1811 D A D 5703 3971 9325 3021 N 2601 6957 5681 A 5867 T e S a 9509 K 2759 9431 7347
Output (English): 2, 4, 7, 8, 9, 14, 18, 20, 21, 22, 23, 25