Several points are given and for some pairs \((A, B)\) of these points the vectors \(\overrightarrow{AB}\) are taken, and at each point the same number of vectors begin and end. Prove that the sum of all the chosen vectors is \(\vec{0}\).