#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x;
  scanf("%d%d", &n, &x);
  if (n == 5)
    printf(">...v\nv.<..\n..^..\n>....\n..^.<\n1 1\n");
  else if (n == 3)
    printf(">vv\n^<.\n^.<\n1 3\n");
  else {
    printf(
        "v<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<<<<<<<<<<<<<<<<<<<"
        "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\nv>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>"
        "v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v>v^\n");
    for (int i = 0; i < 24; i++)
      printf(
          "v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v."
          "v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.v.\nv^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^"
          "v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^"
          "\n");
    for (int i = 0; i < 24; i++)
      printf(
          "v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^"
          "v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^v^\n.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^"
          ".^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^"
          "\n");
    printf(
        ">^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^"
        ">^>^>^>^>^>^>^>^>^>^>^>^>^>^>^\n......................................"
        "..............................................................\n");
    printf("1 1\n");
  }
  return 0;
}
