#include <bits/stdc++.h>
using namespace std;
int n, x;
string case1[3] = {">.v", ">..", "^.<"},
       case2[5] = {">>>.v", ">>.vv", ".>..v", "^^.<.", "^.<<<"};
int main() {
  cin >> n >> x;
  if (n == 5 && x == 5) {
    for (int i = 0; i < 5; i++) cout << case2[i] << endl;
    cout << 1 << " " << 1;
  } else if (n == 3 && x == 2) {
    for (int i = 0; i < 3; i++) cout << case1[i] << endl;
    cout << 1 << " " << 1;
  } else {
    cout << ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.>.>.>.>.>.>.>."
            ">.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>v"
         << endl
         << "^v.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<<<<<<<<<<<<<<<<<"
            "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"
         << endl;
    for (int i = 1; i <= 24; i++)
      cout << ".>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.>.>.>.>.>.>."
              ">.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>v"
           << endl
           << "^v.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<<<<<<<<<<<<<<<"
              "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"
           << endl;
    for (int i = 1; i <= 24; i++)
      cout << "^>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.>.>.>.>.>.>."
              ">.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>v"
           << endl
           << "^v.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<<<<<<<<<<<<<<<"
              "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"
           << endl;
    cout << "^>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.>.>.>.>.>.>.>."
            ">.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>v"
         << endl
         << "^<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<<<<<<<<<<<<<<<<<"
            "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"
         << endl
         << 1 << " " << 1;
  }
  return 0;
}
