#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:102400000,102400000")
using namespace std;
int main() {
  int n, m;
  while (~scanf("%d%d", &n, &m)) {
    if (n == 5 && m == 5) {
      printf(">...v\n");
      printf("v.<..\n");
      printf("..^..\n");
      printf(">....\n");
      printf("..^.<\n");
      printf("1 1\n");
    } else if (n == 3 && m == 2) {
      printf(">vv\n");
      printf("^<.\n");
      printf("^.<\n");
      printf("1 3\n");
    } else {
      for (int i = 0; i < 49; ++i) printf(">");
      for (int i = 0; i < 25; ++i) printf(".>");
      printf("v");
      printf("\n");
      for (int i = 1; i < 99; ++i) {
        printf("^");
        if (i & 1) {
          printf("v");
          for (int j = 0; j < 24; ++j) printf("<.");
          for (int j = 0; j < 50; ++j) printf("<");
          printf("\n");
        } else {
          for (int j = 0; j < 50; ++j) printf(">");
          for (int j = 0; j < 24; ++j) printf(".>");
          printf("v\n");
        }
      }
      printf("^");
      for (int i = 0; i < 25; ++i) printf("<.");
      for (int i = 0; i < 49; ++i) printf("<");
      printf("\n");
      printf("1 1\n");
    }
  }
  return 0;
}
