import math
r=5
for i in range(r*2):
    print(int(r*math.cos(i))*' '+'~')