$40,147.47