#include <bits/stdc++.h>
using namespace std;
char mat[1010][1010];
int main() {
  int n;
  cin >> n;
  if (n == 3) {
    cout << ">.v\n...\n^.<\n1 1\n";
    return 0;
  } else if (n == 5) {
    cout << ">.>.v\n.....\n....v\n.....\n^.<.<\n1 1\n";
    return 0;
  }
  int nr = 32;
  for (int i = 1; i <= 100; i++) {
    if (i & 1) {
      for (int j = 1; j <= 32; j++) mat[i][j + 1] = '>';
      for (int j = 1; j <= 32; j++) mat[i][2 * j + 33] = '>';
      mat[i][100] = 'v';
    } else {
      for (int j = 1; j <= 32; j++) mat[i][100 - j + 1] = '<';
      for (int j = 1; j <= 32; j++) mat[i][69 - 2 * j] = '<';
      mat[i][2] = 'v';
    }
  }
  mat[100][2] = 0;
  mat[1][1] = '>';
  for (int i = 2; i <= 100; i++) mat[i][1] = '^';
  for (int i = 1; i <= 100; i++) {
    for (int j = 1; j <= 100; j++) cout << (mat[i][j] ? mat[i][j] : '.');
    cout << '\n';
  }
  cout << "1 1\n";
  return 0;
}
