Task: Program Execution
Input (English): d 2461 w 5209 2699 x 5811 3549 8929 3821 E K 7645 1889 T v l 8163 J 633 8459 5125 4095 Y n B h 8395 4187 x g 9287 T m W 1987 M 2879 C
Output (English): 4, 2461, 23, 5209, 2699, 24, 5811, 3549, 8929, 3821, 5, 11, 7645, 1889, 20, 22, 12, 8163, 10, 633, 8459, 5125, 4095, 25, 14, 2, 8, 8395, 4187, 24, 7, 9287, 20, 13, 23, 1987, 13, 2879, 3