#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, x;
  cin >> n >> x;
  if (n == 5) {
    puts(">.>.v");
    puts("v.<.<");
    puts(">.>.v");
    puts("v.<.<");
    puts(">.>.v");
    puts("1 1");
  } else if (n == 3) {
    puts(">.v");
    puts(">..");
    puts("^.v");
    puts("1 1");
  } else {
    puts(
        ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>."
        ">.>.>.>.>.>.>.>.>.>.>.>.>.>.>v");
    string s1 =
        "^>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>."
        ">.>.>.>.>.>.>.>.>.>.>.>.>.>.>v";
    string s2 =
        "^v<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<<"
        "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<";
    for (int i = 0; i < ((int)(49)); i++) cout << s2 << endl << s1 << endl;
    puts(
        "^.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<<"
        "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<");
    puts("1 1");
  }
  return 0;
}
