100 atcoder#ABC049B. [ABC049B] たてなが
[ABC049B] たてなが
Score : points
Problem Statement
There is an image with a height of pixels and a width of pixels. Each of the pixels is represented by either .
or *
. The character representing the pixel at the -th row from the top and the -th column from the left, is denoted by .
Extend this image vertically so that its height is doubled. That is, print a image with a height of pixels and a width of pixels where the pixel at the -th row and -th column is equal to (the result of division is rounded down).
Constraints
- is either
.
or*
.
Input
The input is given from Standard Input in the following format:
:
Output
Print the extended image.
2 2
*.
.*
*.
*.
.*
.*
1 4
***.
***.
***.
9 20
.....***....***.....
....*...*..*...*....
...*.....**.....*...
...*.....*......*...
....*.....*....*....
.....**..*...**.....
.......*..*.*.......
........**.*........
.........**.........
.....***....***.....
.....***....***.....
....*...*..*...*....
....*...*..*...*....
...*.....**.....*...
...*.....**.....*...
...*.....*......*...
...*.....*......*...
....*.....*....*....
....*.....*....*....
.....**..*...**.....
.....**..*...**.....
.......*..*.*.......
.......*..*.*.......
........**.*........
........**.*........
.........**.........
.........**.........