Create an awk script to be used in a .awk file that will removethe first and last words from line th

Create an awk script to be used in a .awk file that will removethe first and last words from line that is input (assuming a lineis more than 3 words). Example: awk -f answer.awk somefile.txt Itwill take the contents of somefile.txt and remove the first andlast words of each line. . . .