Having trouble concentrating in the library? Here's the final solution.