$40,271.88