Task: Program Execution
Input (English): have, N, r, but, E
Output (English): haveNrbutE