An eight grader has 18 coins in her pocket. The coins are all dimes and quarters. Their total value is 2.85. Find how much of each coin is in her pocket.