Jaber has some chocolates. One the first day he ate $\cfrac 13$ of the chocolates and gave $2$ of them to his younger brother Joy. The next day, he ate $\cfrac 23$ of the remaining chocolates and gave $4$ to his sister Sarah. On the third day, he ate up the remaining $2$ chocolates. How many chocolates did he have in the beginning?