#include <bits/stdc++.h>
using namespace std;
int n, x;
char mat[105][105];
void solve1() {
  int len = n / 3;
  for (int i = 1; i <= n; ++i) {
    mat[i][1] = '^';
    if (i & 1) {
      for (int j = 2; j <= len; ++j) mat[i][j] = '>';
      for (int j = len + 2; j <= n - 1; j += 2) mat[i][j] = '>';
      mat[i][n] = 'v';
    } else {
      for (int j = n - 1; j >= n - len; --j) mat[i][j] = '<';
      for (int j = n - len - 2; j >= 2; j -= 2) mat[i][j] = '<';
      mat[i][2] = 'v';
      mat[i][n] = '<';
    }
  }
  mat[1][1] = '>';
  mat[n][2] = '<';
  for (int i = 1; i <= n; ++i) {
    for (int j = 1; j <= n; ++j) cout << mat[i][j];
    cout << "\n";
  }
  cout << "1 1";
}
void solve2() {
  int start = -1, k = 0;
  while (true) {
    ++k;
    int len = n - 2 * (k - 1);
    if (len < 3) break;
    int left = k, right = n + 1 - k;
    start = left;
    for (int i = left; i <= right - 2; ++i) {
      mat[left][i] = '>';
      mat[i][right] = 'v';
    }
    for (int i = right; i >= left + 2; --i) {
      mat[right][i] = '<';
      mat[i][left] = '^';
    }
  }
  for (int i = 1; i <= n; ++i) {
    for (int j = 1; j <= n; ++j) cout << mat[i][j];
    cout << "\n";
  }
  cout << start << " " << start;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  cin >> n >> x;
  for (int i = 1; i <= n; ++i) {
    for (int j = 1; j <= n; ++j) {
      mat[i][j] = '.';
    }
  }
  if (n == 100)
    solve1();
  else
    solve2();
  return 0;
}
