#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  int n, x;
  cin >> n >> x;
  if (n == 5 && x == 5)
    cout << ">...v\nv.<..\n..^..\n>....\n..^.<\n1 1\n";
  else if (n == 3 && x == 2)
    cout << ">vv\n^<.\n^.<\n1 3\n";
  else {
    for (int i = 0; i < 50; i++) {
      cout << "v.";
      for (int j = 1; j < 30; j++) cout << "<.";
      for (int j = 0; j < 40; j++) cout << "<";
      cout << endl;
      for (int j = 0; j < 40; j++) cout << ">";
      for (int j = 1; j < 30; j++) cout << ".>";
      cout << ".^" << endl;
    }
    cout << "100 100" << endl;
  }
  return 0;
}
