The total weight of the boxes on a truck is 512 kg. If there are 32 boxes on the truck, what is the weight of each box? Assume all boxes are of equal weight.