Ancient Scrolls#4300

Ancient Scrolls

20 seconds
256 megabytes
Hard

You bought ancient scrolls from a magician. These scrolls have a long string, and the lengths of the strings are the same. He said that these scrolls are copies of the key string to enter a dungeon with a secret treasure. However, he also said, they were copied so many times by hand, so the string will contain some errors, though the length seems correct.

Your job is to recover the original string from these strings. When finding the original string, you decided to use the following assumption.

Can you find the original string?

Input

The input contains a series of datasets.

Each dataset has the following format:

str_1

str_2

str_3

The first line contains two integers (1 \le l \le 100000) and (0 \le d \le 5000.) describes the length of given strings and describes acceptable maximal Hamming distance. The following lines have given strings, whose lengths are . These strings consist of only lower and upper case alphabets.

The input ends with a line containing two zeros, which should not be processed.

Output

Print the lexicographically minimum string satisfying the condition in a line. If there do not exist such strings, print "".

Examples

Example 1

Loading
Loading