Crypt Kicker II#2037

Crypt Kicker II

10 sekund
64 megabajtov
Srednje

A common but insecure method of encrypting text is to permute the letters of the alphabet. That is, in the text, each letter of the alphabet is consistently replaced by some other letter. To ensure that the encryption is reversible, no two letters are replaced by the same letter.

A common method of cryptanalysis is the known plaintext attack. In such an attack, the cryptanalyst manages to learn a certain phrase or sentence encrypted by the enemy and then, based on the encrypted text, determines the method of encoding.

You are required to decrypt several encrypted lines of text, assuming that each line uses the same permutation set, and that one of the input lines contains the code for the text

the quick brown fox jumps over the lazy dog

Vhod

Each test consists of several lines. The encrypted lines contain only lowercase letters and spaces and do not exceed characters in length. There are no more than input lines.

Izhod

There must be a blank line between the output data of consecutive tests. For each test, output the following:

Decrypt each line and print it. If there is more than one possible decryption (several lines can be decoded to the key sentence), use the first line found for decoding.

If decryption is impossible, output a single line: No solution.

Primeri

Primer 1

Loading
Loading