Task: Program Execution
Input (English): g, 4165, n, w, n, e
Output (English): e, g, n, w