#include <bits/stdc++.h>
int main() {
  int n, m, t;
  scanf("%d %d", &n, &m);
  t = (n / 2);
  t -= (t & 1);
  for (int i = 1; i < n; i++) {
    if (i == 1)
      printf(">");
    else
      printf("^");
    if (i & 1) {
      for (int j = 2; j <= (n - t < n - 2 ? n - t : n - 2); j++) printf(">");
      for (int j = n - t + 1; j < n - 2; j += 2) printf(".>");
      printf(".v");
    } else {
      printf("v.");
      for (int j = 4; j <= 3 + t; j += 2) printf(".<");
      for (int j = 3 + t + 1; j <= n; j++) printf("<");
    }
    printf("\n");
  }
  printf("^<<");
  for (int j = 4; j <= 3 + t; j += 2) printf(".<");
  for (int j = 3 + t + 1; j <= n; j++) printf("<");
  printf("\n1 1\n");
  return 0;
}
