#include <bits/stdc++.h>
using namespace std;
char a[110][110];
int main() {
  int n, x;
  cin >> n >> x;
  if (n == 5) {
    cout << ">...v" << endl;
    cout << "v.<.." << endl;
    cout << "..^.." << endl;
    cout << ">...." << endl;
    cout << "..^.<" << endl;
    cout << "1 1" << endl;
  } else if (n == 3) {
    cout << ">vv" << endl;
    cout << "^<." << endl;
    cout << "^.<" << endl;
    cout << "1 3" << endl;
  } else {
    for (int i = 0; i < 100; i++)
      for (int j = 0; j < 100; j++) a[i][j] = '.';
    for (int i = 0; i < 100; i += 2) {
      for (int j = 0; j < 32; j++) {
        a[i][j + 1] = '>';
        a[i][33 + j * 2 + 1] = '>';
      }
      a[i][2 + 32 * 3] = 'v';
    }
    for (int i = 1; i < 100; i += 2) {
      for (int j = 0; j < 32; j++) {
        a[i][98 - j] = '<';
        a[i][98 - 32 - j * 2 - 1] = '<';
        a[i][1] = 'v';
      }
    }
    a[0][0] = '>';
    a[99][1] = '<';
    for (int i = 0; i < 33; i++) {
      a[99 - i][0] = '^';
      a[99 - 33 - i * 2 - 1][0] = '^';
    }
    for (int i = 0; i < 100; i++) {
      for (int j = 0; j < 100; j++) cout << a[i][j];
      cout << endl;
    }
    cout << "1 1" << endl;
  }
  return 0;
}
