#include <bits/stdc++.h>
#pragma warning(disable : 4786)
using namespace std;
int main() {
  int n, x;
  cin >> n >> x;
  if (n == 3) {
    cout << ">.v\n";
    cout << "...\n";
    cout << "^.<\n";
    cout << "1 1\n";
  } else if (n == 5) {
    cout << ">...v\n";
    cout << ">..v.\n";
    cout << ".>...\n";
    cout << ".^.<.\n";
    cout << "^...<\n";
    cout << "1 1\n";
  } else {
    vector<string> v(100, string(100, '.'));
    const int M = 40;
    for (int i = 0; i < M; ++i) {
      v[i][0] = 'v';
    }
    for (int i = 0; i < 100; ++i) {
      if (i % 2 == 0)
        v[99][i] = '>';
      else
        v[99][i] = '^';
    }
    for (int i = 1; i < M; ++i) {
      v[99 - i][99] = '^';
    }
    for (int i = 0; i < M; ++i) {
      v[0][99 - i] = '<';
    }
    for (int i = 0; i < 99; ++i) {
      if (i % 2 == 0) {
        v[1][i] = 'v';
      } else
        v[1][i] = '>';
    }
    for (int j = 1; j < 99; j += 2) {
      for (int i = 1; i < M; ++i) v[99 - i][j] = '^';
      for (int i = M + 1; i < 98; i += 2) v[99 - i][j] = '^';
    }
    for (int j = 2; j < 99; j += 2) {
      for (int i = 1; i <= M; ++i) v[i][j] = 'v';
      for (int i = M + 2; i < 99; i += 2) v[i][j] = 'v';
    }
    for (int i = 0; i < 100; ++i) cout << v[i] << endl;
    cout << "1 1\n";
  }
  return 0;
}
