#include <bits/stdc++.h>
using namespace std;
int n;
int calc(int a, int b, int k) {
  if (a == 1)
    return 1;
  else {
    if (a % 2 == 0 && (b > (1 << (k - 1))))
      return -1 * calc((a + 1) / 2, b - (1 << (k - 1)), k - 1);
    if (b > (1 << (k - 1))) return calc((a + 1) / 2, b - (1 << (k - 1)), k - 1);
    return calc((a + 1) / 2, b, k - 1);
  }
}
int main() {
  int i, j;
  while (scanf("%d", &n) != EOF) {
    int k = (1 << n);
    for (i = 1; i <= k; i++) {
      for (j = 1; j <= k; j++)
        if (calc(i, j, n) == -1)
          printf("*");
        else
          printf("+");
      puts("");
    }
  }
  return 0;
}
