$40,247.80