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.
# input()
y, x = map(int, input().split(" "))

h = []
for v in range(0, x+2):
    h.append("#")
    
print(h)
for v in range(0, y):
    print("#" + input() + "#")

print(h)
y, x = map(int, input().split(" "))
 
h = []
for v in range(0, x+2):
    h.append("#")
    
h = ''.join(h)
print(h)
for v in range(0, y):
    print("#" + input() + "#")
 
print(h)