#abc049b. [abc049_b]Thin

[abc049_b]Thin

Problem Statement

There is an image with a height of HH pixels and a width of WW pixels. Each of the pixels is represented by either . or *. The character representing the pixel at the ii-th row from the top and the jj-th column from the left, is denoted by Ci,jC_{i,j}.

Extend this image vertically so that its height is doubled. That is, print a image with a height of 2H2H pixels and a width of WW pixels where the pixel at the ii-th row and jj-th column is equal to C(i+1)/2,jC_{(i+1)/2,j} (the result of division is rounded down).

Constraints

  • 1H,W1001≦H, W≦100
  • Ci,jC_{i,j} is either . or *.

Input

The input is given from Standard Input in the following format:

HH WW C1,1...C1,WC_{1,1}...C_{1,W} : CH,1...CH,WC_{H,1}...C_{H,W}

Output

Print the extended image.


Sample Input 1

2 2
*.
.*

Sample Output 1

*.
*.
.*
.*

Sample Input 2

1 4
***.

Sample Output 2

***.
***.

Sample Input 3

9 20
.....***....***.....
....*...*..*...*....
...*.....**.....*...
...*.....*......*...
....*.....*....*....
.....**..*...**.....
.......*..*.*.......
........**.*........
.........**.........

Sample Output 3

.....***....***.....
.....***....***.....
....*...*..*...*....
....*...*..*...*....
...*.....**.....*...
...*.....**.....*...
...*.....*......*...
...*.....*......*...
....*.....*....*....
....*.....*....*....
.....**..*...**.....
.....**..*...**.....
.......*..*.*.......
.......*..*.*.......
........**.*........
........**.*........
.........**.........
.........**.........