Anna, Gina, and Ted divided up a box of post cards. Anna took one-fourth of the cards. Gina took half of what remained. Ted took the remaining 6 cards. How many cards were in the box?