HELP PLEASE BEST ANSWER WILL BE MARK AS BRAINLIEST!!

The average weight of the seven dogs at the vet's office was 40 pounds. Six of the weights were recorded: 71, 34, 15, 23, 18, and 56. What was the seventh weight of the dogs at the vet?