#include <bits/stdc++.h>
using namespace std;
template <class T>
inline T sqr(T x) {
  return x * x;
}
const double EPS = 1e-6;
const int INF = 0x3fffffff;
const long long LINF = INF * 1ll * INF;
const double PI = acos(-1.0);
using namespace std;
char ans[101][101];
int main(void) {
  int n, x;
  scanf("%d %d", &n, &x);
  if (n == 3) {
    puts(">vv\n^<.\n^.<");
    puts("1 3");
    return 0;
  } else if (n == 5) {
    puts(">...v\nv.<..\n..^..\n>....\n..^.<");
    puts("1 1");
    return 0;
  }
  for (int i = 0; i < n; i++) {
    if (i == 0)
      putchar('>');
    else
      putchar('^');
    if (i % 2 == 0)
      putchar('>');
    else {
      if (i == n - 1)
        putchar('<');
      else
        putchar('v');
    }
    if (i % 2 == 0) {
      for (int j = 0; j < (n - 4) / 2; j++) putchar('>');
      for (int j = 0; j < (n - 4) / 2; j += 2) putchar('.'), putchar('>');
    } else {
      for (int j = 0; j < (n - 4) / 2; j += 2) putchar('<'), putchar('.');
      for (int j = 0; j < (n - 4) / 2; j++) putchar('<');
    }
    if (i % 2 == 0)
      putchar('v');
    else
      putchar('<');
    putchar('.');
    puts("");
  }
  puts("1 1");
}
