$40,717.97