There are four consecutive integers, five less than the third integer is equal to the sum of the fourth and twice the first, what is the largest number?