#Pr152. Map point——地图点位

Map point——地图点位

Statement

Given a n×mn\times m matrix representing the terrain height map of the area, mark all points with a height greater than dd in the area using the character 'X' (ASCII: 88), and then output the processed height map, with spaces separating columns For example, for the matrix below, if we label and output the regions where the value is greater than d=5d=5, it should be like this:

$$ \begin{bmatrix} 10 & 8 & 7 & 2\\ 0 & 2 & 5 & 9\\ 3 & 12 & 3 & 4\\ 12 & 6 & 3 & 2\\ 6 & 1 & 3 & 5 \end{bmatrix}\longrightarrow \begin{bmatrix} X & X & X & 2\\ 0 & 2 & 5 & X\\ 3 & X & 3 & 4\\ X & X & 3 & 2\\ X & 1 & 3 & 5 \end{bmatrix} $$

Input

The first line gives three integers n,m,d(1<n,m103,0d109)n, m, d (1 < n, m \leq 10^3, 0 \leq d \leq 10^9) representing the n×mn \times m matrix region, where dd denotes the height assigned to the aforementioned region.

Next, there are nn lines, with each line containing mm integers aija_{ij} (0<aij1090 < a_{ij} \leq 10^9) representing the height of the corresponding region.

Output

Output the map style given according to the intention of the question.

Samples

3 3 5
10 8 7 2
0 2 5 9
3 12 3 4
12 6 3 2
6 1 3 5
X X X 2
0 2 5 X
3 X 3 4
X X 3 2
X 1 3 5