Create The Scaled Picture
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Given the picture , built from black and white pixels. Your task is to scale it up, replacing each pixel with the rectangle , entirely consisting of the pixels of same color as the replaced pixel.
Input
The first line contains four integers .
-th of the following lines contain 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 rows and columns.
Examples
Input #1
Answer #1
Input #2
Answer #2
Input #3
Answer #3
Submissions 217
Acceptance rate 54%