If one third of a number is 6 less than half of the number, what is the number?