Given a piece of text encoded with a simple monoalphabetic substitution cipher, use basic cryptanalytic techniques to recover the original plain text. You will be provided with a special dictionary file that you can read from dictionary.lst. It will consist of one word per line.
The input ciphertext will consist of a string of space separated enciphered words from the provided dictionary.lst file that is accessible to your code. The dictionary contains technical jargon and may not be entirely representative of English language plain text, so frequency analysis techniques may not be entirely helpful.
words in dictionary.lst words in input
Output the decrypted plain text. The output will be a string of space separated words from the provided dictionary. You'll be scored based on how accurately you recover the original text.