#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, k;
  cin >> n >> k;
  if (n == 5) {
    cout << ">...v\nv.<..\n..^..\n>....\n..^.<\n1 1\n";
  } else if (n == 3) {
    cout << ">vv\n^<.\n^.<\n1 3\n";
  } else {
    cout << 'v' << string(n - 1, '<') << endl;
    for (long long int i = 0; i < n / 2 - 1; ++i) cout << "v>";
    cout << "v^" << endl;
    for (long long int i = 0; i < n / 4 - 1; ++i) {
      for (long long int i = 0; i < n / 2; ++i) cout << "v.";
      cout << endl;
      for (long long int i = 0; i < n / 2; ++i) cout << "v^";
      cout << endl;
    }
    for (long long int i = 0; i < n / 4 - 1; ++i) {
      for (long long int i = 0; i < n / 2; ++i) cout << "v^";
      cout << endl;
      for (long long int i = 0; i < n / 2; ++i) cout << ".^";
      cout << endl;
    }
    for (long long int i = 0; i < n / 2; ++i) cout << ">^";
    cout << endl;
    cout << string(n, '.') << endl;
    cout << "1 1" << endl;
  }
}
