Task: Program Execution
Input (English): D, Q, w, g, n, r
Output (English): D, Q, w, g, n, r