Lucas was spreading soil in the backyard. His backyard is 8 feet wide by 965 feet long. If each bag contains enough soil to cover 10 square feet of yard, how many bags should he buy?