Kelly collected some shells at beach but some were broken, She sorted them because she only wanted to keep the unbroken shells. 1/4 shells were pink but 9 of those were broken. Of the remaining shells, 1/2 were white, but 6 of them were broken. 3/4 of the rest of remaining shells were tan but 6 of them were also broken. How many shells did she have at first?