In a game of word zippers, you get two words $$A$$ and $$C$$, and the aim is to place a new word $$B$$ in between those words. The word $$B$$ must be chosen so that the first two words $$AB$$ and the last two words $$BC$$ each form a new word again. The length of the word $$B$$ is also given. E.g. the four letter word type fits between the words hydro and writer, which results in the compound words hydrotype and typewriter.

Assignment

Example

>>> words = readWords('wordlist.txt')
>>> wordzippers('gyne-....-wrote', words)
'gyne-TYPE-wrote'
>>> wordzippers('hydro-....-writer', words)
'hydro-TYPE-writer'
>>> wordzippers('java-.....-python', words)
'java-???-python'
>>> wordzippers('agit-....-wood', words)
'agit-PROP-wood'
>>> wordzippers('arch-...-thing', words)
'arch-SEE-thing'
>>> wordzippers('frog-...-puller', words)
'frog-LEG-puller'
>>> wordzippers('arche-....-wrote', words)
'arche-TYPE-wrote'