through the next half century the geometry text underwent thirty-nine editions and the algebra text twenty-four.

Make this proper case
Through the next half century the geometry text underwent thirty-nine editions and the algebra text twenty-four.