#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  string ans[(1 << 9) + 5];
  cin >> k;
  ans[0] = "+";
  for (int i = 1; i <= k; i++) {
    for (int j = 0; j < (1 << (i - 1)); j++) {
      ans[j] += ans[j];
    }
    for (int j = (1 << (i - 1)); j < (1 << i); j++) {
      ans[j] += ans[j - (1 << (i - 1))];
      for (int l = (1 << (i - 1)); l < (1 << i); l++) {
        if (ans[j][l] == '+')
          ans[j][l] = '*';
        else
          ans[j][l] = '+';
      }
    }
  }
  for (int i = 0; i < (1 << k); i++) {
    cout << ans[i] << endl;
  }
  return 0;
}
