#include <bits/stdc++.h>
using namespace std;
int n, x;
int main() {
  scanf("%d%d", &n, &x);
  if (n == 5) {
    printf(">...v\nv.<..\n..^..\n>....\n..^.<\n1 1\n");
  } else if (n == 3) {
    printf(">vv\n^<.\n^.<\n1 3\n");
  } else {
    char buf[111][111];
    for (int i = 0; i < 100; ++i)
      for (int j = 0; j < 100; ++j) buf[i][j] = '.';
    for (int i = 0; i < 50; ++i) {
      buf[i * 2][0] = '^';
      for (int j = 1; j <= 32; ++j) buf[i * 2][j] = '>';
      for (int j = 34; j <= 96; j += 2) buf[i * 2][j] = '>';
      buf[i * 2][97] = 'v';
      buf[i * 2 + 1][97] = '<';
      for (int j = 96; j >= 66; --j) buf[i * 2 + 1][j] = '<';
      for (int j = 64; j >= 2; j -= 2) buf[i * 2 + 1][j] = '<';
      buf[i * 2 + 1][1] = 'v';
      buf[i * 2 + 1][0] = '^';
    }
    buf[0][0] = '>';
    buf[99][1] = '<';
    for (int i = 0; i < 100; ++i) {
      buf[i][100] = 0;
      puts(buf[i]);
    }
    puts("1 1");
  }
  return 0;
}
