The use of this painkiller in a dream predicts the sudden solution to a long-standing problem.