A fruit basket contains oranges and grapefruits. one-third of the oranges and one-forth of the grapefruits were spoiled. yo threw away 4 oranges and 7 grapefruits. How many pieces of fruit were in the basket?