A baker used to send any cakes he hadn't sold to his elderly mother. He always asked his apprentice to deliver the cakes on his way home.
After a while, the baker began to suspect that the apprentice was eating some of the cakes, so he started to write the number of cakes on the box.
One day, the apprentice ate one third of the cakes and corrected the number on the box by only adding one line.
How many cakes were in the box when the apprentice left the bakery?