Maria, Shanta and Farida had sweets in the ratio of 10 : 5 : 3. Maria gave Shanta and Farida a total of 68 sweets so that all of them had the same number of sweets. Find the total number of sweets the girls had.