#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  cin >> K;
  if (K == 0) {
    cout << "+" << endl;
    return 0;
  }
  vector<string> ans;
  ans.push_back("++");
  ans.push_back("+*");
  for (int k = 2; k <= K; ++k) {
    vector<string> tmp(ans);
    for (int i = 0; i < tmp.size(); ++i) {
      for (int j = 0; j < tmp[i].size(); ++j) {
        tmp[i][j] = tmp[i][j] == '*' ? '+' : '*';
      }
    }
    vector<string> next;
    for (auto s : ans) {
      next.push_back(s + s);
    }
    for (int i = 0; i < ans.size(); ++i) {
      next.push_back(ans[i] + tmp[i]);
    }
    ans.swap(next);
  }
  for (auto s : ans) {
    cout << s << endl;
  }
}
