Tricia bought a big box of candy canes.
When she opened the box she found that 8 of them were broken, so she crushed them up and saved the pieces to use as ice cream topping.
She hung one fourth of the ones that were left on her Christmas tree.
Of the ones that were left, she gave two thirds of them away to her friends.
Then she ate one candy cane and gave one to her little brother.
That left Tricia with 6 candy canes.
How many candy canes were in the box when Tricia bought it?
_____________ candy canes.