Create The Scaled Picture#11310

Create The Scaled Picture

1 second
128 megabytes
Very easy

Given a picture of size n \cdot m, built from black and white pixels. Your task is to scale it up, replacing each pixel with the rectangle a \cdot b, entirely consisting of the pixels of the same color as the replaced pixel.

Input

The first line contains four integers n, m, a, b~(1 \le n, m, a, b \le 10).

-th of the following lines contains the binary string of length , describing -th row of the initial picture. denotes the white pixel; denotes the black pixel.

Output

Print the scaled picture as the rectangle consisting of n \cdot a rows and m \cdot b columns.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading