#include <bits/stdc++.h>
char a[5][6] = {">...v", "v.<..", "..^..", ">....", "..^.<"},
     b[3][4] = {">vv", "^<.", "^.<"}, c[100][101];
int n, x;
int main() {
  scanf("%d%d", &n, &x);
  if (n == 5) {
    for (int i = 0; i < 5; i++) puts(a[i]);
    printf("1 1\n");
    return 0;
  }
  if (n == 3) {
    for (int i = 0; i < 3; i++) puts(b[i]);
    printf("1 3\n");
    return 0;
  }
  c[0][0] = 'v';
  for (int j = 0; j < 100; j += 2) {
    for (int i = 1; i < 50; i++) c[i][j] = 'v';
    for (int i = 50; i < 99; i++) c[i][j] = i & 1 ? 'v' : '.';
    c[99][j] = '>';
    for (int i = 99; i >= 50; i--) c[i][j + 1] = '^';
    for (int i = 49; i > 1; i--) c[i][j + 1] = i & 1 ? '^' : '.';
    c[1][j + 1] = j == 98 ? '^' : '>';
  }
  for (int j = 99; j >= 50; j--) c[0][j] = '<';
  for (int j = 49; j >= 1; j--) c[0][j] = j & 1 ? '<' : '.';
  for (int i = 0; i < 100; puts(""), i++)
    for (int j = 0; j < 100; j++) putchar(c[i][j]);
  puts("1 1");
}
