$40,247.95