Complete the code so that all values except the first and last are printed, regardless of the length of the original list.

Make sure to type 1:-1.