#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:100000000")
using namespace std;
const long double pi = acos(-1.0);
int main() {
  int n, x;
  scanf("%d%d", &n, &x);
  if (n == 5) {
    printf(">...v\n");
    printf("v.<..\n");
    printf("..^..\n");
    printf(">....\n");
    printf("..^.<\n");
    printf("1 1\n");
    return 0;
  }
  if (n == 3) {
    printf(">vv\n");
    printf("^<.\n");
    printf("^.<\n");
    printf("1 3\n");
    return 0;
  }
  for (int tmp = 0; tmp < n / 4; ++tmp) {
    for (int i = 0; i < n / 2; ++i) printf(">");
    for (int i = 0; i < n / 4 - 1; ++i) printf(">.");
    printf(".v\n");
    printf("^");
    for (int i = 0; i < n / 4; ++i) printf(".<");
    for (int i = 0; i < n / 2 - 1; ++i) printf("<");
    printf("\n");
    printf("v.");
    for (int i = 0; i < n / 4 - 1; ++i) printf(".<");
    for (int i = 0; i < n / 2; ++i) printf("<");
    printf("\n");
    for (int i = 0; i < n / 2 - 1; ++i) printf(">");
    for (int i = 0; i < n / 4; ++i) printf(">.");
    printf("^\n");
  }
  printf("1 1\n");
  return 0;
}
