#include <bits/stdc++.h>
using namespace std;
char a[105][105];
int main() {
  int n, m;
  cin >> n >> m;
  if (n == 5 && m == 5) {
    cout << ">...v\nv.<..\n..^..\n>....\n..^.<\n1 1\n";
  } else if (n == 3) {
    cout << ">vv\n^<.\n^.<\n1 3";
  } else {
    for (int i = 1; i <= 100; i++)
      for (int j = 1; j <= 100; j++) a[i][j] = '.';
    for (int i = 1; i <= 100; i++) {
      if (i % 2 == 1) {
        a[2][i] = '<';
        for (int j = 3; j <= 50; j += 2) a[j][i] = '^';
        for (int j = 51; j <= 100; j++) a[j][i] = '^';
      } else {
        for (int j = 2; j <= 50; j++) a[j][i] = 'v';
        for (int j = 51; j <= 100; j += 2) a[j][i] = 'v';
        a[100][i] = '<';
      }
    }
    a[2][1] = '^';
    for (int i = 1; i <= 99; i++) a[1][i] = '>';
    a[1][100] = 'v';
    for (int i = 1; i <= 100; i++) {
      for (int j = 1; j <= 100; j++) cout << a[i][j];
      cout << endl;
    }
    cout << "1 1\n";
  }
  return 0;
}
