$40,582.86