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