Find four consecutive integers such that 8 times the sum of the first and the third is 40
greater than 10 times the fourth.