#include <bits/stdc++.h>
using namespace std;
int i, j, k, l, n, m;
char a[120][120];
int main() {
  scanf("%d%d", &n, &m);
  if (n == 5 && m == 5) printf(">...v\nv.<..\n..^..\n>....\n..^.<\n1 1\n");
  if (n == 3 && m == 2) printf(">vv\n^<.\n^.<\n1 3\n");
  if (n == 100 && m == 100000) {
    for (i = 1; i <= 100; ++i) a[i][1] = 'v';
    a[100][1] = '>';
    for (i = 1; i <= 100; ++i) {
      if (i & 1) {
        for (j = 1; j <= 33; ++j) a[i][j * 2] = '<', a[i][j * 2 + 1] = '.';
        for (j = 68; j <= 100; ++j) a[i][j] = '<';
        a[i][2] = '^';
      } else {
        for (j = 2; j <= 34; ++j) a[i][j] = '>';
        for (j = 0; j <= 32; ++j)
          a[i][100 - j * 2] = '>', a[i][100 - j * 2 - 1] = '.';
        a[i][100] = '^';
      }
    }
    a[1][2] = '<';
    for (i = 1; i <= 100; ++i) printf("%s\n", a[i] + 1);
    printf("1 1\n");
  }
}
