Twelve more than one-half the square of a number is 30. What is the number?