#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  vector<vector<int> > v = {{1}};
  for (int i = 0; i < k; i++) {
    int current = v.size();
    for (int j = 0; j < current; j++) {
      vector<int> vnew(2 * current);
      for (int l = 0; l < current; l++) {
        vnew[l] = v[j][l];
        vnew[current + l] = v[j][l];
        v[j].push_back(-v[j][l]);
      }
      v.push_back(vnew);
    }
  }
  for (int i = 0; i < v.size(); i++) {
    for (int j = 0; j < v[i].size(); j++) {
      cout << ((v[i][j] == 1) ? "+" : "*");
    }
    cout << endl;
  }
}
