The smallest of three consecutive even integers is 40 less than three times the largest. What is the largest of these integers?