#include <bits/stdc++.h>
using namespace std;
char ans[100][100];
int main() {
  ios::sync_with_stdio(false);
  int n, m;
  cin >> n >> m;
  if (n == 5) {
    cout << ">...v" << endl;
    cout << "v.<.." << endl;
    cout << "..^.." << endl;
    cout << ">...." << endl;
    cout << "..^.<" << endl;
    cout << "1 1" << endl;
    return 0;
  }
  if (n == 3) {
    cout << ">vv" << endl;
    cout << "^<." << endl;
    cout << "^.<" << endl;
    cout << "1 3" << endl;
    return 0;
  }
  for (int i = 0; i < n; i++)
    for (int j = 0; j < n; j++)
      if (i % 2 == 0)
        ans[i][j] = '>';
      else
        ans[i][j] = '<';
  for (int i = 1; i < n; i++) ans[i][0] = '^';
  for (int i = 0; i < n; i++)
    if (i % 2 == 0)
      ans[i][n - 1] = 'v';
    else
      ans[i][1] = 'v';
  ans[n - 1][1] = '<';
  for (int i = 0; i < n; i += 2)
    for (int j = n / 2 - 1; j < n; j++)
      if (j % 2 == 0) ans[i][j] = '.';
  for (int i = 1; i < n; i += 2)
    for (int j = 2; j < n / 2 + 2; j++)
      if (j % 2 == 0) ans[i][j] = '.';
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < n; j++) cout << ans[i][j];
    cout << endl;
  }
  cout << "1 1" << endl;
  return 0;
}
