For each test case, the input contains three lines:
One line containing a positive integer k, the block size (k >= 1).
One line containing M, the plaintext (1 <= |M| <= 100;|M| is a multiple of k).
One line containing C, the ciphertext (|C| =|M|).
Both plaintext and ciphertext consist only of lower-case letters.