#include <bits/stdc++.h>
using namespace std;
const int maxn = int(1.5 * 1e7);
const int inf = ~0U;
const long long ll_inf = 1e18 + 420;
const double eps = 1e-4;
const int N = 1e6 + 7;
const int MAX = 2e5 + 9;
const int MOD = 1e9 + 7;
const long double pi = 3.14159265359;
int main(int n) {
  cin >> n;
  n = 1 << n;
  for (int i = 0; i < n; i++, cout << "\n") {
    for (int j = 0; j < n; j++) {
      cout << (__builtin_parity(i & j) ? '*' : '+');
    }
  }
}
