#AT1082. B - Picture Frame

B - Picture Frame

当前没有测试数据。

B - Picture Frame

Score : $200$ points

Problem 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$.

Constraints

  • $1 ≤ H, W ≤ 100$
  • $a_{ij}$ is a lowercase English letter.

Input

Input is given from Standard Input in the following format:

HH WW

a11a_{11} ...... a1Wa_{1W}

::

aH1a_{H1} ...... aHWa_{HW}

Output

Print the image surrounded by a box that consists of # and has a thickness of $1$.


2 3
abc
arc
#####
#abc#
#arc#
#####

1 1
z
###
#z#
###