There is an image with a height of
H pixels and a width of
W pixels. Each pixel is represented by either the character
. or
*. The character representing the pixel in the
ith row from the top and the
jth column from the left is denoted by
Ci,j . Stretch this image vertically so that its height is doubled. That is, print the image a height of
2H pixels and a width of
W pixels, where the pixel in the
i-th row and
j-th column is < code>C
(i+1)/2,j (the result of division is rounded down).
Input
The first line contains two integers
H and
W (
\(1 <= H, W <=100\ )). Then there are
H lines by
W characters per line, where each character is either
. or
*.
Imprint
Display the stretched image.
Examples
| # |
Input |
Output |
| 1 |
2 2
*.
.*
|
*.
*.
.*
.*
|
| 2 |
14
***.
|
|
| 3 |
9 20
.....***....***.....
....*...*..*...*....
...*.....**.....*...
...*.....*......*...
....*.....*....*....
...**..*...**.....
.......*..*.*.......
........**.*........
.........**.........
|
.....***....***.....
.....***....***.....
....*...*..*...*....
....*...*..*...*....
...*.....**.....*...
...*.....**.....*...
...*.....*......*...
...*.....*......*...
....*.....*....*....
....*.....*....*....
...**..*...**.....
...**..*...**.....
.......*..*.*.......
.......*..*.*.......
........**.*........
........**.*........
..........**.........
.........**.........
|