A wire is run between the tops of two poles. One pole is 23 feet taller than the other pole. The poles are 37 feet apart. How long does the wire need to be to reach between the two poles?