midi imdi mdii dmii idmi dimi miid imid miid imid iimd iimd mdii dmii midi imdi dimi idmi idim diim iidm iidm diim idim
Note: these 'words' (valid or invalid) are all the permutations of the word midi. These words are obtained by scrambling the letters in midi.