# 5. Variant 1

It is known that $\cos \alpha+\cos \beta+\cos \gamma=\sqrt{\frac{1}{5}}, \sin \alpha+\sin \beta+\sin \gamma=\sqrt{\frac{4}{5}}$. Find $\cos (\alpha-\beta)+\cos (\beta-$ $\gamma)+\cos (\gamma-\alpha)$