$40,267.87