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?