# Sweet Fractions

Number Theory Level pending

Allan has a bag of candies, and he gives $$\frac{1}{8}$$ of the candies to Rick, he then gives $$\frac{2}{5}$$ of the remaining to James, $$\frac{4}{5}$$ of the remaining to Tim, and $$\frac{3}{8}$$ of the remaining to Zach. If the remaining candies are 6, then how many candies did Allan have in total?

×