#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int k;
  cin >> k;
  if (k == 0) return cout << "+\n", 0;
  vector<string> ats = {"++", "+*"};
  while (ats.size() < (1 << k)) {
    auto cp = ats;
    for (auto& s : cp)
      for (auto& ch : s) ch = (ch == '+' ? '*' : '+');
    for (int i = 0; i < cp.size(); i++) {
      ats.push_back(ats[i] + cp[i]);
      ats[i] += ats[i];
    }
  }
  for (auto& s : ats) cout << s << "\n";
}
