Two-thirds of a number subtracted from nine is seven. Find the number.