#include <bits/stdc++.h>
using namespace std;
int main() {
  iostream::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  n = (1 << n);
  char a[n][n];
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < n; j++) {
      if (__builtin_popcount(i | j) % 2 == 0)
        cout << '*';
      else
        cout << '+';
    }
    cout << "\n";
  }
}
