#include <bits/stdc++.h>
using namespace std;
const int MAXN = 110;
char a[MAXN][MAXN];
char check(char a) {
  if (a == '<') {
    return '>';
  }
  if (a == '>') {
    return '<';
  }
  return a;
}
int main() {
  int n, x;
  cin >> n >> x;
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < n; j++) {
      a[i][j] = '.';
    }
  }
  for (int i = 0; i < n / 2; i++) {
    int k = 2 * i, k2 = 2 * i + 1;
    for (int j = 0; j < n / 2; j++) {
      a[k][j] = '>';
    }
    for (int j = n / 2 + 1; j < n - 1; j += 2) {
      a[k][j] = '>';
    }
    a[k][n - 1] = 'v';
    for (int j = 0; j < n / 2 - 1; j++) {
      a[k2][(n - 1) - j] = '<';
    }
    for (int j = n / 2; j < n - 1; j += 2) {
      a[k2][(n - 1) - j] = '<';
    }
    a[k2][0] = '^';
  }
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < n; j++) {
      if ((i / 2) % 2 == 0) {
        cout << a[i][j];
      } else {
        cout << check(a[i][(n - 1) - j]);
      }
    }
    cout << endl;
  }
  cout << 1 << ' ' << 1 << endl;
}
