A number is written on each edge of a cube. The sum of the 4 numbers on the adjacent edges is written on each face. Place the numbers 1 and −1 on the edges so that the numbers written on the faces are all different.