#include <bits/stdc++.h>
using namespace std;
const int inf = ~0U >> 1;
const long long INF = ~0ULL >> 1;
template <class T>
inline void read(T &n) {
  char c;
  for (c = getchar(); !(c >= '0' && c <= '9'); c = getchar())
    ;
  n = c - '0';
  for (c = getchar(); c >= '0' && c <= '9'; c = getchar()) n = n * 10 + c - '0';
}
int Pow(int base, int n, int mo) {
  if (n == 0) return 1;
  if (n == 1) return base % mo;
  int tmp = Pow(base, n >> 1, mo);
  tmp = (long long)tmp * tmp % mo;
  if (n & 1) tmp = (long long)tmp * base % mo;
  return tmp;
}
string A, B, C, D, E;
int N;
void print(string x) {
  printf("%s", x.c_str());
  for (int i = (1); i <= (100 - x.size()); ++i) printf(".");
  puts("");
}
int main() {
  scanf("%d", &N);
  if (N == 5) {
    puts(">...v");
    puts("v.<..");
    puts("..^..");
    puts(">....");
    puts("..^.<");
    puts("1 1");
  } else if (N == 3) {
    puts(">vv");
    puts("^<.");
    puts("^.<");
    puts("1 3");
  } else {
    A += "v";
    for (int i = (1); i <= (27); ++i) A += ".<";
    for (int i = (1); i <= (45); ++i) A += "<";
    for (int i = (1); i <= (33); ++i) B += ">";
    for (int i = (1); i <= (31); ++i) B += ".>";
    B += "v";
    for (int i = (1); i <= (2); ++i) B += "<";
    for (int i = (1); i <= (33); ++i) C += ">";
    for (int i = (1); i <= (31); ++i) C += ".>";
    C += "v";
    for (int i = (1); i <= (1); ++i) C += ".";
    C += "^";
    D += "v";
    for (int i = (1); i <= (31); ++i) D += "<.";
    for (int i = (1); i <= (33); ++i) D += "<";
    for (int i = (1); i <= (1); ++i) D += ".";
    D += "^";
    for (int i = (1); i <= (33); ++i) E += ">";
    for (int i = (1); i <= (31); ++i) E += ".>";
    for (int i = (1); i <= (2); ++i) E += ">";
    E += "^";
    print(A);
    print(B);
    print(D);
    for (int i = (1); i <= (48); ++i) print(C), print(D);
    print(E);
    puts("1 70");
  }
  return 0;
}
