#include <bits/stdc++.h>
int k, x, n;
char a[1000][1000];
int main() {
  scanf("%d%d", &n, &x);
  k = n / 2;
  for (int i = 1; i <= n; ++i)
    if (i & 1) {
      for (int j = 1; j <= k; ++j) a[i][j] = '>';
      for (int j = k + 1; j <= n; ++j) a[i][j] = (j - k & 1) ? '.' : '>';
      a[i][n] = 'v';
    } else {
      for (int j = 1; j <= k + 1; ++j) a[i][j] = (k - j + 1 & 1) ? '<' : '.';
      for (int j = k + 2; j <= n; ++j) a[i][j] = '<';
      a[i][1] = '^';
    }
  for (int i = 1; i <= n; ++i, puts(""))
    for (int j = 1; j <= n; ++j) putchar(a[i][j]);
  puts("1 1");
}
