Eight less than 3 times a number is equal to 3 plus twice the number. What is the number?