Four children A, B, C and D are having some chocolates each.
A gives B as many as he already has, he gives C twice of what C already has and he gives D thrice of what D already has.
Now, D gives (\(\frac 18\))th of his own chocolates to B.
Then A gives 10% chocolates he now owns to C and 20% to B.
Finally, all of them have 35 chocolates each. What is the original number of chocolates each had in the beginning?