Rating:
## [Original/Source Writeup](https://bigpick.github.io/TodayILearned/articles/2020-10/b01lersbootcamp#train-of-thought)
We're given:
```
dream dreams fantasticalities a neuropharmacologist neuropharmacy neuroharmacy psychopathologic oneirologic dichlorodiphenyltrichloroethane dichlorodiphenyltrichloroe chlorophenyltrichloroe chloromethanes fluorines cytodifferentiated differentiated
```
After starting at this for a while, I finally began to question why they mentioned **Mr. Levenshtein** in the challenge description. A quick Google search for just this name yields [“Levenshtein distance”](https://en.wikipedia.org/wiki/Levenshtein_distance).
With this finally in mind, I thought to take the Levenshtein distance between each word. We get a decimal digit 1-26 for each of the various distances, which seems suspiciously like alphabet indices.
For this, I used the following PyPI package for Levenshtein: [python-levenshtein](https://pypi.org/project/python-Levenshtein/).
We can just take the indicies out of the alphabet after subtracting one, like so:
```python
>>> from string import ascii_lowercase as alphabet
>>> words = "dream dreams fantasticalities a neuropharmacologist neuropharmacy neuroharmacy psychopathologic oneirologic dichlorodiphenyltrichloroethane dichlorodiphenyltrichloroe chlorophenyltrichloroe chloromethanes fluorines cytodifferentiated differentiated"
>>> for i in range(len(words)-1):
... first = words[i]
... second = words[i+1]
... distance = Levenshtein.distance(first, second)
... print(alphabet[distance-1], end='')
...
anorganizedmind
```
Flag is `flag{anorganizedmind}`.