last

From The K Language Wiki
Last
x lst y

last gets the last value of an array.

last 1 2 3