#include <bits/stdc++.h>
using namespace std;
inline int read() {
  char ch = getchar();
  int num = 0, k = 1;
  while (ch > '9' || ch < '0') k = (ch == '-' ? -1 : k), ch = getchar();
  while (ch <= '9' && ch >= '0') num *= 10, num += ch - 48, ch = getchar();
  return num * k;
}
int n;
char s1[200000 + 5], s2[200000 + 5];
int main() {
  n = read(), read();
  for (int i = 0; i < (n >> 1); i++) s1[i] = '>';
  for (int i = (n >> 1); i < n - 1; i++)
    if ((i & 1) ^ ((n >> 1) & 1))
      s1[i] = '>';
    else
      s1[i] = '.';
  s1[n - 1] = 'v', s1[n] = s2[n] = '\0';
  for (int i = n - 1; i > (n >> 1); i--) s2[i] = '<';
  for (int i = (n >> 1); i; i--)
    if ((i & 1) ^ ((n >> 1) & 1))
      s2[i] = '<';
    else
      s2[i] = '.';
  s2[0] = '^';
  for (int i = 0; i < (n >> 1); i++) printf("%s\n%s\n", s1, s2);
  if (n & 1) printf("%s\n", s2);
  puts("1 1");
  return 0;
}
