Four less than the product of a number and 8 is twice the sum of the number and 10. What is the number?