Task: Program Execution
Input (English): 2381, 9609, 7897, c, 6391, r, 2861, u, d
Output (English): c, d, r, u