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.
h,w = map(int,input().split())
pic = [str(input()) for _ in range(h)]


for i in range(-1,h+1):
    if i == -1 or i == h:
        print(*['#'] * (h+2),sep='')
    else:
        print('#'+pic[i]+'#')

h,w = map(int,input().split())
pic = [str(input()) for _ in range(h)]


for i in range(-1,h+1):
    if i == -1 or i == h:
        print(*['#'] * (w+2),sep='')
    else:
        print('#'+pic[i]+'#')
