#include <bits/stdc++.h>
using namespace std;
const int MAN = 100 + 5;
char a[MAN][MAN];
int n, i, x, j, q;
int main() {
  scanf("%d%d", &n, &x);
  for (i = 1; i <= n; ++i) {
    for (j = 1; j <= n; ++j) {
      a[i][j] = '.';
    }
  }
  if (n <= 5) {
    for (i = 1; i <= n; i = i + 2) {
      for (j = 1; j < n; j = j + 2) {
        a[i][j] = '>';
      }
      a[i][n] = 'v';
    }
    for (i = 2; i <= n; i = i + 2) {
      for (j = n; j > 1; j = j - 2) {
        a[i][j] = '<';
      }
      a[i][1] = 'v';
    }
    for (i = 1; i <= n; ++i) {
      for (j = 1; j <= n; ++j) {
        cout << a[i][j];
      }
      cout << endl;
    }
    cout << "1 1\n";
  } else if (n > 5) {
    q = (n - 2) / 2;
    for (i = n - 1; i > 1; i = i - 2) {
      for (j = 2; j <= q + 1; ++j) {
        a[i][j] = '>';
      }
      a[i][n] = '^';
    }
    for (i = n - 2; i > 1; i = i - 2) {
      for (j = n; j >= n - q + 1; --j) {
        a[i][j] = '<';
      }
      a[i][2] = '^';
    }
    for (i = n - 1; i > 1; i = i - 2) {
      for (j = q + 3; j < n; j = j + 2) {
        a[i][j] = '>';
      }
    }
    for (i = n - 2; i > 1; i = i - 2) {
      for (j = n - q - 1; j > 2; j = j - 2) {
        a[i][j] = '<';
      }
    }
    a[n][1] = '>';
    a[n][2] = '^';
    for (i = 1; i <= q; ++i) {
      a[i][1] = 'v';
    }
    if (n % 2 == 0) {
      a[1][2] = '<';
    } else {
      for (i = n; i >= n - q + 1; --i) {
        a[1][i] = '<';
      }
    }
    for (i = 1; i <= n; ++i) {
      for (j = 1; j <= n; ++j) {
        cout << a[i][j];
      }
      cout << endl;
    }
    cout << n << " 1" << endl;
  }
  return 0;
}
