#include <bits/stdc++.h>
using namespace std;
string inverse(string s) {
  string ret(((int)(s).size()), 0);
  for (int i = 0; i < ((int)(s).size()); ++i) {
    ret[i] = s[i] == '*' ? '+' : '*';
  }
  return ret;
}
int main() {
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  vector<string> ans = {"+"};
  for (int i = 1; i <= n; ++i) {
    vector<string> nans = ans;
    int m = ((int)(ans).size());
    for (int i = 0; i < m; ++i) {
      string p = inverse(ans[i]);
      nans.push_back(p);
    }
    for (int i = 2 * m - 1; i >= 0; --i) {
      nans[i] += nans[i % m];
    }
    ans = nans;
  }
  for (const string& p : ans) cout << p << '\n';
}
