#include <bits/stdc++.h>
using namespace std;
const int MAXN = 100 + 10;
int n, first;
char str[MAXN][MAXN], A[2][MAXN];
int main() {
  cin >> n >> first;
  if (n == 5) printf(">...v\nv.<..\n..^..\n>....\n..^.<\n1 1\n"), exit(0);
  if (n == 3) printf(">vv\n^<.\n^.<\n1 3\n"), exit(0);
  for (int i = 1; i < n / 2; ++i) str[1][i] = '>';
  for (int i = n / 2; i < n; ++i)
    if (i & 1)
      str[1][i] = '>';
    else
      str[1][i] = '.';
  str[1][n] = 'v';
  A[0][2] = '<';
  for (int i = 3; i <= n / 2 + 1; ++i)
    if (i & 1)
      A[0][i] = '^';
    else
      A[0][i] = '.';
  for (int i = n / 2 + 2; i <= n; ++i) A[0][i] = '^';
  for (int i = 2; i <= n / 2; ++i) A[1][i] = 'v';
  for (int i = n / 2 + 1; i < n; ++i)
    if (i & 1)
      A[1][i] = '.';
    else
      A[1][i] = 'v';
  A[1][n] = '<';
  for (int i = 2; i <= n; ++i)
    for (int j = 1; j <= n; ++j) str[i][j] = A[(j & 1) ^ 1][i];
  str[2][1] = '.';
  for (int i = 1; i <= n; ++i) puts(str[i] + 1);
  puts("1 1");
  fclose(stdin);
  fclose(stdout);
  return 0;
}
