Task: Program Execution
Input (English): D o w 5319 J n F X h 9395 V 2963 M l 3079 u 1843 7729 4901 d T G C q r
Output (English): 4, 15, 23, 5319, 10, 14, 6, 24, 8, 9395, 22, 2963, 13, 12, 3079, 21, 1843, 7729, 4901, 4, 20, 7, 3, 17, 18