There are 18 pieces of fruit in a basket, including 9 apples. What is the probability that a randomly selected piece of fruit will be an apple?