One Christmas night, 3 kids were sleeping in their room. Their father came and kept a bag full of chocolates in the center of room with a card that says: "Sweets for my three sweet kids."
At midnight, the first kid wakes up, and sees the bag of chocolates. He takes exactly one third of the chocolates in the bag, hides them under his pillow, and leaves the remaining chocolates in the bag.
After some time the second kid wakes up. He does the same with the chocolates that were left by the first kid.
Then, the third kid wakes up after some time and does the same as well.
Finally, at morning they all wake up, looked at each other and said "Look, we got chocolates!" They divided the chocolates equally again.
So, what is the least number of chocolates their father would have kept in the bag?
Hint:
Each time at night a kid divided the chocolates, there was no remainder. The same happened in morning, it all divided equally.