Task: Program Execution
Input (English): r, 9489, e, n, 6323, d, 3163, 265, 8587, 7891
Output (English): d, e, n, r