In a basket there are 13 apples. There are scales, with which you can find out the total weight of any two apples. Think of a way to find out from 8 weighings the total weight of all the apples.