UVa 10896 - Known Plaintext Attack

10896 - Known Plaintext Attack

 * http://acm.uva.es/p/v108/10896.html

Summary
Use bruteforce to simply try all the words and all the 26 possible encryption key.

Explanation
Use bruteforce to simply try all the words and all the 26 possible encryption key.

Input
2 drsc sc k docd test dl ruvd doha hp pz we

Output
k hl