Good teachers are costly, but bad teachers cost more.