Bryon purchased a box of candy at the store. On his way home he ate 1/4 of the candy from the box. At dinner with friends later that night he served 1/2 of what was left. If there are 6 chocolates left in the box, how many did the box contain to start with?​