In a 650g bag of mixed dried fruits, the ratio of mangos to apples to pears is 12:8:6 by mass. Determine the masses of the mangos, apples, and pears in the bag.