#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3fffffff;
const int SINF = 0x7fffffff;
const long long LINF = 0x3fffffffffffffff;
const long long SLINF = 0x7fffffffffffffff;
const int MAXN = 107;
int n, x, ax, ay;
char s[MAXN][MAXN];
void init();
void input();
void work();
int main() {
  init();
  input();
  work();
}
void init() { ios::sync_with_stdio(false); }
void input() { scanf("%d%d", &n, &x); }
void work() {
  for (int i = 1; i <= n; ++i)
    for (int j = 1; j <= n; ++j) s[i][j] = '.';
  if (n == 5 && x == 5) {
    s[1][1] = '>', s[1][5] = 'v', s[5][5] = '<', s[5][1] = '^', s[3][1] = '>',
    s[3][3] = 'v';
    ax = 1, ay = 1;
  } else if (n == 3 && x == 2) {
    s[1][1] = '>', s[1][3] = 'v', s[3][3] = '<', ax = 1, ay = 1;
  } else if (n == 100 && x == 100000) {
    for (int i = 1; i <= 100; ++i) {
      if (i & 1) {
        s[i][1] = 'v';
        for (int j = 3; j <= 50; j += 2) s[i][j] = '<';
        for (int j = 51; j <= 100; ++j) s[i][j] = '<';
      } else {
        for (int j = 1; j <= 50; ++j) s[i][j] = '>';
        for (int j = 52; j < 100; j += 2) s[i][j] = '>';
        s[i][100] = '^';
      }
    }
    ax = 1, ay = 1;
  }
  for (int i = 1; i <= n; ++i) printf("%s\n", s[i] + 1);
  printf("%d %d\n", ax, ay);
}
