From a basket of mangoes, the king took 1/6, the queen took 1/5 of the remainder, the three chief princes to ¼, 1/3, and ½ of the successive remainders, respectively. the youngest child took the remaining 3 mangoes. how many mangoes were in the basket originally