#include <bits/stdc++.h>
using namespace std;
string flip(string a) {
  for (int i = 0; i < a.size(); i++) {
    if (a[i] == '+')
      a[i] = '*';
    else
      a[i] = '+';
  }
  return a;
}
int main() {
  int n;
  cin >> n;
  vector<string> v;
  v.push_back("+");
  for (int i = 0; i < n; i++) {
    vector<string> a;
    for (int j = 0; j < v.size(); j++) {
      a.push_back(v[j] + v[j]);
      a.push_back(v[j] + flip(v[j]));
    }
    v = a;
  }
  for (auto it : v) cout << it << endl;
  return 0;
}
