#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  if (n == 5) {
    cout << ">...v\nv.<..\n..^..\n>....\n..^.<\n1 1";
  } else if (n == 3) {
    cout << ">vv\n^<.\n^.<\n1 3";
  } else {
    string a =
        "v<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<<<<<<<<<<<<<<<<<<<"
        "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<";
    string b =
        "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^";
    string c =
        "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.";
    string d =
        "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^";
    string e =
        ".^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^.^"
        ".^.^.^.^.^.^.^.^.^.^.^.^.^.^.^";
    string f =
        ">^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^"
        ">^>^>^>^>^>^>^>^>^>^>^>^>^>^>^";
    string g =
        "......................................................................"
        "..............................";
    cout << a << endl << b << endl;
    for (int(i) = 0; (i) < (24); (i)++) cout << c << endl << d << endl;
    for (int(i) = 0; (i) < (24); (i)++) cout << d << endl << e << endl;
    cout << f << endl << g << endl;
    cout << "1 1" << endl;
  }
  return 0;
}
