output_description: Print the image surrounded by a box that consists of `#` and has a thickness
  of 1.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      H W
      a_{11} ... a_{1W}
      :
      a_{H1} ... a_{HW}
attempt: import math
  import sys
  
  
  def getinputdata():
  
      # 配列初期化
      array_result = []
  
      data = input()
  
      array_result.append(data.split(" "))
  
      flg = 1
  
      try:
  
          while flg:
  
              data = input()
  
              array_temp = []
  
              if data != "":
  
                  array_result.append(data.split(" "))
  
                  flg = 1
  
              else:
  
                  flg = 0
      finally:
  
          return array_result
  
  
  arr_data = getinputdata()
  
  h = int(arr_data[0][0])
  w = int(arr_data[0][1])
  
  
  s = ""
  s += (w + 2) * "#"
  s += "\n"
  
  for i in range(1, 1 + h):
  
      s += "#"
      s += "".join(arr_data[i])
      s += "#\n"
  
  
  s += (w + 2) * "#"
  
  print(s)
  
problem_description: Statement
  
  You are given a image with a height of H pixels and a width of W pixels. Each
  pixel is represented by a lowercase English letter. The pixel at the i-th row
  from the top and j-th column from the left is a_{ij}.
  
  Put a box around this image and output the result. The box should consist of
  `#` and have a thickness of 1.
samples: [{"input": "2 3\n    abc\n    arc", "output": "#####\n    #abc#\n    #arc#\n    #####\n    \n\n* * *"}, {"input": "1 1\n    z", "output": "###\n    #z#\n    ###"}]