chs = ("*", "+")

for i in range(1024):
  print([chs[(i >> x) & 1] for x in range(10)])