$40,399.87