#include <bits/stdc++.h>
using namespace std;
string a[10][2050];
int main() {
  int k;
  cin >> k;
  a[0][0] = "+";
  for (int i = 1; i <= k; i++) {
    for (int j = 0; j < (1 << (i - 1)); j++) {
      a[i][2 * j] = a[i - 1][j] + a[i - 1][j];
      a[i][2 * j + 1] = a[i - 1][j];
      for (int p = 0; p < a[i - 1][j].size(); p++) {
        if (a[i - 1][j].at(p) == '+')
          a[i][2 * j + 1] = a[i][2 * j + 1] + '*';
        else
          a[i][2 * j + 1] = a[i][2 * j + 1] + '+';
      }
    }
  }
  for (int i = 0; i < (1 << k); i++) cout << a[k][i] << endl;
}
