#include <bits/stdc++.h>
using namespace std;
int main() {
  cout.tie(0);
  int n;
  cin >> n;
  int run = 1 << n;
  for (int i = 0; i < run; i++) {
    for (int j = 0; j < run; j++) {
      if (__builtin_parity(i & j))
        putchar('*');
      else
        putchar('+');
    }
    putchar('\n');
  }
  return 0;
}
