Task: Program Execution
Input (English): regular, g, allseemed, W, U
Output (English): regulargallseemedWU