When a coordinate grid is superimposed on a map of Lanesville, the middle school is located at (15, 23) and the library is located at (27, 9). If each unit represents 1 mile,, how many miles apart are the middle school and the library? Round your answer to the nearest tenth.