Gear Trouble

A problem from the U.S.S.R. mathematical olympiad:

You’re given 13 gears. Each weighs an integral number of grams. Any 12 of them can be placed on a pan balance, with 6 in each pan, so that the scale is in equilibrium. Prove that all the gears must be of equal weight.

Click for Answer