n = 40
m = n * 3
li = []
s1 = ''.join("WELCOME").center(m, '-')

for i in range(1, n//2 + 1):
    s = []
    s = ''.join((".|.")*(2 * i - 1)).center(m, '-')
    li.append(s)
print('\n'.join(li[:] + ["WELCOME".center(m, '-')] + li[::-1]))

42c4ef6bb3495a17979b5dadc05ccf36a473645a
<mask token>

<mask token>
for i in range(1, n // 2 + 1):
    s = []
    s = ''.join('.|.' * (2 * i - 1)).center(m, '-')
    li.append(s)
print('\n'.join(li[:] + ['WELCOME'.center(m, '-')] + li[::-1]))

n = 40
m = n * 3
li = []
s1 = ''.join('WELCOME').center(m, '-')
for i in range(1, n // 2 + 1):
    s = []
    s = ''.join('.|.' * (2 * i - 1)).center(m, '-')
    li.append(s)
print('\n'.join(li[:] + ['WELCOME'.center(m, '-')] + li[::-1]))

n = 40
m = n * 3
li = []
s1 = ''.join("WELCOME").center(m, '-')

for i in range(1, n//2 + 1):
    s = []
    s = ''.join((".|.")*(2 * i - 1)).center(m, '-')
    li.append(s)
print('\n'.join(li[:] + ["WELCOME".center(m, '-')] + li[::-1]))
