A painter needs to buy a ladder in order to paint a wall that is 18 feet high. In order to ensure the ladder does not fall it needs to be placed 3 feet away from the wall. What size ladder does the painter need to buy to ensure that he will be able to paint the highest point of the wall? Write your answer rounded to the ncarest tenth.