$40,497.65