AtCoder Beginner Contest 062
B
Picture Frame
AtCoder
⌀ 99
原题
← AC →
翻译中…

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:

翻译中…

H W
a_{11} ... a_{1W}
:
a_{H1} ... a_{HW}

翻译中…

Output

翻译中…

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

翻译中…

样例

Input #1
2 3
abc
arc
Output #1
#####
#abc#
#arc#
#####
Input #2
1 1
z
Output #2
###
#z#
###
题目信息
题号
abc062_b
时间限制
2 s
内存限制
256 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。