#include <bits/stdc++.h>
using namespace std;
const int MAX = 100001;
const int INF = 1000000001;
void dfs(int k, string s) {
  if (k == 0) {
    cout << s << endl;
    return;
  }
  string t = "";
  for (int i = 0; i < (int)s.length(); i++)
    if (s[i] == '+')
      t += '*';
    else
      t += '+';
  dfs(k - 1, s + s);
  dfs(k - 1, s + t);
}
int main() {
  int k;
  cin >> k;
  dfs(k, "+");
  return 0;
}
