Write a function to remove a list's 3rd from last element.