  The static three-quark potential in arbitrary configuration of quarks is
calculated analytically. It is shown to be in a full agreement with the precise
numerical simulations in lattice QCD. The results of the work have important
application in nuclear physics, as they allow to perform accurate analytic
calculations of spectra of the baryons.
