Caesar Cipher Cracker
If you found the Caesar's Cipher Decoding task too primitive for your skills, here is more complicated version: Now you are to crack Caesar's Cipher.
Input data will contain the number of encrypted messages in the first line.
Next lines will contain the encrypted lines themselves. Each line is encoded with separate key!
Answer should contain three first words of each decrypted line followed by the value of the key. Several answers should be separated with spaces.
input data: 2 XIP DBSFT PG ESFBNT VJQWIJ KV OCMGU VJKPIU XGTA SWGGT answer: WHO CARES OF 1 THOUGH IT MAKES 2
You can find hints on algorithm in the Caesar Cipher Breaking with Least Squares though you are encouraged at least to try invent solution yourself...