__author__ = 'ruixuan'
#encoding=utf-8
content=raw_input("please input your url:")
width=len(content)
box_width=width+2
print(' '+'-'*box_width)
print('|'+' '*box_width+'|')
print('|'+' '*box_width+'|')
print('| '+content+' |')
print('|'+' '*box_width+'|')
print('|'+' '*box_width+'|')
print('|'+' '*box_width+'|')
print(' '+'-'*box_width)


