Task: Program Execution
Input (English): w, t, g, q, e, u, g, m
Output (English): e, g, m, q, t, u, w