The way the problem is worded, I would think they are looking for a deterministic solution. Of course, given that you land on "restore" in this section if you start from the first few lines it is trivial that you could start anywhere in Midsummer Night's Dream, since you will eventually land on a word that is somewhere in the first few lines of this selection.
This may not be what they are going for, but there are probably patches of words that are unavoidable that all converge to the same word. From then on out, the path you take is determined. Notice that if you start later on in the poem you don't necessarily end up hitting "restore." It probably becomes a statistical inevitability that such patches exist the longer your work is.
Just as an example, if I had the phrase "But, am I?" in a work and I knew that I would hit just one of those three then I would know for sure what path would be followed after those words.