A wire is run between the tips of two poles. One pole is 16 meters taller than the other pole. The poles are 30 meters apart. How long does the wire need to be to reach between the two poles?