#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  int n, x;
  cin >> n >> x;
  if (n == 5) {
    cout << "v..<<" << endl;
    cout << "v>v.." << endl;
    cout << "v.v^." << endl;
    cout << ".^..^" << endl;
    cout << ">^>^^" << endl;
    cout << "1 1" << endl;
  } else if (n == 3) {
    cout << "v.<" << endl;
    cout << "..." << endl;
    cout << ">.^" << endl;
    cout << "1 1" << endl;
  } else {
    cout << "v";
    for (int i = 0; i < 25; i++) {
      cout << ".<";
    }
    for (int i = 0; i < 49; i++) {
      cout << "<";
    }
    cout << endl;
    for (int i = 0; i < 49; i++) {
      cout << "v>";
    }
    cout << "v.";
    cout << endl;
    for (int i = 0; i < 25; i++) {
      for (int i = 0; i < 50; i++) {
        cout << "v.";
      }
      cout << endl;
      if (i == 24) {
        continue;
      }
      for (int i = 0; i < 50; i++) {
        cout << "v^";
      }
      cout << endl;
    }
    for (int i = 0; i < 24; i++) {
      for (int i = 0; i < 50; i++) {
        cout << "v^";
      }
      cout << endl;
      for (int i = 0; i < 50; i++) {
        cout << ".^";
      }
      cout << endl;
    }
    for (int i = 0; i < 50; i++) {
      cout << ">^";
    }
    cout << endl;
    cout << "1 1" << endl;
  }
  return 0;
}
