#include <bits/stdc++.h>
using namespace std;
long long rdtsc() {
  long long tmp;
  asm("rdtsc" : "=A"(tmp));
  return tmp;
}
inline int myrand() { return abs((rand() << 15) ^ rand()); }
inline int rnd(int x) { return myrand() % x; }
bool solve() {
  int n, x;
  if (scanf("%d%d", &n, &x) < 2) return 0;
  if (n == 5 && x == 5) {
    printf(
        ">...v\n"
        "v.<..\n"
        "..^..\n"
        ">....\n"
        "..^.<\n"
        "1 1\n");
    return 1;
  }
  if (n == 3 && x == 2) {
    printf(
        ">vv\n"
        "^<.\n"
        "^.<\n"
        "1 3\n");
    return 1;
  }
  assert(n == 100 && x == (int)1e5);
  const int K = 32;
  char res[n + 1];
  for (int i = 0; i < n; ++i) {
    for (int it = 0; it < n; ++it) {
      int j = !(i & 1) ? it : (n - 1 - it);
      if (it == n - 1)
        res[j] = !(i & 1) ? 'v' : '^';
      else {
        res[j] = '.';
        if (it < K + 2 || ((it - K) & 1)) res[j] = !(i & 1) ? '>' : '<';
      }
    }
    res[n] = 0;
    printf("%s\n", res);
  }
  printf("%d %d\n", 1, n);
  return 1;
}
int main() {
  srand(rdtsc());
  while (1) {
    if (!solve()) break;
  }
  return 0;
}
