You are given a table with N rows and M columns. Each cell holds one lowercase English letter. Consider a path that starts at the top left cell and ends at the bottom right cell, where every move goes either right or down.
Reading the letters of the cells along the path in the order they are visited gives a string. That string is the value of the path.
Sort all possible paths by their values in alphabetical order and find the value of the K-th path. Paths whose values are equal are counted separately.
Input
The first line contains the number of rows N and the number of columns M. (1≤N,M≤30)
Each of the next N lines contains exactly M lowercase English letters with no spaces.
The last line contains an integer K. (1≤K≤1018)
The input is always such that the K-th path exists.
Output
Print the value of the K-th path on the first line.