Imagine you have a 2D list inputList,whose dimension is greater than or equal to two. Print all of its corner elements in the following order: left to right and top to bottom.
Print the result for two elements in one line. Use a single space to separate two elements on the same line.
Take a look at the examples below and remember that nested lists can be of different lengths!
Tip: You can use first() and last().