$40,507.99