output_description: Print the extended image.
  
  * * *
input_description: The input is given from Standard Input in the following format:
  
      
      
      H W
      C_{1,1}...C_{1,W}
      :
      C_{H,1}...C_{H,W}
attempt: # from math import factorial,sqrt,ceil,gcd
  # from itertools import permutations as permus
  # from collections import deque,Counter
  # import re
  # from functools import lru_cache # 簡単メモ化 @lru_cache(maxsize=1000)
  # from decimal import Decimal, getcontext
  # # getcontext().prec = 1000
  # # eps = Decimal(10) ** (-100)
  
  # import numpy as np
  # import networkx as nx
  # from scipy.sparse.csgraph import shortest_path, dijkstra, floyd_warshall, bellman_ford, johnson
  # from scipy.sparse import csr_matrix
  # from scipy.special import comb
  
  # slist = "abcdefghijklmnopqrstuvwxyz"
  # 盤面の受け取り
  H, W = map(int, input().split())
  board = [[] for _ in range(H * 2)]
  for i in range(H):
      board[2 * i] = list(input())
      board[2 * i + 1] = board[2 * i].copy()
  
  # print(*ans)   # unpackして出力。間にスペースが入る
  for row in board:
      print(*row, sep="")  # unpackして間にスペース入れずに出力する
  # print("{:.10f}".format(ans))
  # print("{:0=10d}".format(ans))
  
problem_description: Statement
  
  There is an image with a height of H pixels and a width of W pixels. Each of
  the pixels is represented by either `.` or `*`. The character representing the
  pixel at the i-th row from the top and the j-th column from the left, is
  denoted by C_{i,j}.
  
  Extend this image vertically so that its height is doubled. That is, print a
  image with a height of 2H pixels and a width of W pixels where the pixel at
  the i-th row and j-th column is equal to C_{(i+1)/2,j} (the result of division
  is rounded down).
samples: [{"input": "2 2\n    *.\n    .*", "output": "*.\n    *.\n    .*\n    .*\n    \n\n* * *"}, {"input": "1 4\n    ***.", "output": "***.\n    ***.\n    \n\n* * *"}, {"input": "9 20\n    .....***....***.....\n    ....*...*..*...*....\n    ...*.....**.....*...\n    ...*.....*......*...\n    ....*.....*....*....\n    .....**..*...**.....\n    .......*..*.*.......\n    ........**.*........\n    .........**.........", "output": ".....***....***.....\n    .....***....***.....\n    ....*...*..*...*....\n    ....*...*..*...*....\n    ...*.....**.....*...\n    ...*.....**.....*...\n    ...*.....*......*...\n    ...*.....*......*...\n    ....*.....*....*....\n    ....*.....*....*....\n    .....**..*...**.....\n    .....**..*...**.....\n    .......*..*.*.......\n    .......*..*.*.......\n    ........**.*........\n    ........**.*........\n    .........**.........\n    .........**........."}]