Task: Program Execution
Input (English): 1239 6681 r q 5067 S Q 9025 8907 C 4627 1395 f e 7859 1221 953 4929 X T B 3203 v 4429 p H M 2871
Output (English): 1239, 6681, 18, 17, 5067, 19, 17, 9025, 8907, 3, 4627, 1395, 6, 5, 7859, 1221, 953, 4929, 24, 20, 2, 3203, 22, 4429, 16, 8, 13, 2871