#include <bits/stdc++.h>
int N, waste;
int main() {
  scanf("%d %d", &N, &waste);
  if (N == 5)
    printf(">.>.v\n.....\n....v\n.....\n....<\n");
  else if (N == 3)
    printf(">.v\n...\n...\n");
  else {
    for (int i = 0; i < 25; i++) {
      printf(
          ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.>.>.>.>.>.>.>.>."
          ">.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>v\n");
      printf(
          "^.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<<<<<<<<<<<<<<<<<<"
          "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n");
      printf(
          "v<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<<<<<<<<<<<<<<<<<<<"
          "<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n");
      printf(
          ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.>.>.>.>.>.>.>.>.>"
          ".>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.^\n");
    }
  }
  printf("1 1\n");
  return 0;
}
