2. From the set $\{10 ; 11 ; 12 ; \ldots ; 19\}$, 5 different numbers were chosen, and from the set $\{90 ; 91 ; 92 ; \ldots ; 99\}$, 5 different numbers were also chosen. It turned out that the difference between any two of the ten chosen numbers is not divisible by 10. Find the sum of all 10 chosen numbers.