#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<vector<bool> > a(1 << n, vector<bool>(1 << n, 0));
  for (int p = 0; p < n; p++) {
    int k = (1 << (p));
    for (int i = 0; i < k; i++)
      for (int j = 0; j < k; j++) {
        a[i][j + k] = a[i][j];
        a[i + k][j] = a[i][j];
        a[i + k][j + k] = !a[i][j];
      }
  }
  for (int i = 0; i < 1 << n; i++) {
    for (int j = 0; j < 1 << n; j++) {
      if (a[i][j])
        cout << '*';
      else
        cout << '+';
    }
    cout << endl;
  }
}
