Extracts the 'butlast' element from a list. For example from the list (0 1 (2 10) 3 (4 1) 5 6 7) it returns 6.