The ratio of three numbers is 3:4:5 and the sum of their squares is 1,250. The sum of the numbers is: