3 kids Prinka Tanu and Vidushi got some chocolates.

Prinka gave Tanu and Vidushi as many chocolates as they already had.

Then Tanu gave Prinka and Vidushi as many chocolates as they already had.

Finally, Vidushi gave Tanu and Prinka as many chocolates as they already had.

Now each of them has 24 chocolates.

How many chocolates they had originally?

Prinka had 39 , tanu had 21 and vidushi had 12 chocolates initially.

Solve the problem in reverse way as below :

Prinka Tanu Vidushi

24 24 24

12 12 48

6 42 24

39 21 12