#include <bits/stdc++.h>
using namespace std;
int k, t = 0, tt = 0, j = -1;
int kk;
int main() {
  cin >> k >> kk;
  if (k == 5) {
    cout << ">...v" << endl;
    cout << "v.<.." << endl;
    cout << "..^.." << endl;
    cout << ">...." << endl;
    cout << "..^.<" << endl;
    cout << 1 << ' ' << 1;
  } else if (k == 3) {
    cout << ">vv" << endl;
    cout << "^<." << endl;
    cout << "^.<" << endl;
    cout << 1 << ' ' << 3;
  } else {
    for (int j = 0; j < 100; j++) {
      if (j == 0) {
        for (int i = 0; i < 50; i++) {
          cout << '>';
        }
        for (int i = 50; i < 74; i++) {
          cout << '>';
          cout << '.';
        }
        cout << '>';
        cout << 'v';
      } else if (j == 99) {
        cout << '^';
        cout << '.';
        cout << '.';
        cout << '<';
        for (int i = 0; i < 23; i++) {
          cout << '.';
          cout << '<';
        }
        for (int i = 50; i < 100; i++) {
          cout << '<';
        }
      } else if (j % 2 == 1) {
        cout << '^';
        cout << 'v';
        cout << '.';
        cout << '<';
        for (int i = 0; i < 23; i++) {
          cout << '.';
          cout << '<';
        }
        for (int i = 50; i < 100; i++) {
          cout << '<';
        }
      } else if (j % 2 == 0) {
        cout << '^';
        for (int i = 1; i < 50; i++) {
          cout << '>';
        }
        for (int i = 50; i < 74; i++) {
          cout << '.';
          cout << '>';
        }
        cout << '.';
        cout << 'v';
      }
      cout << endl;
    }
    cout << 1 << ' ' << 1;
  }
}
