#include <bits/stdc++.h>   using namespace std;   int main() {     int n, x;     cin >> n >> x;     if (n == 3) {       cout <<  >vv  << endl <<  ^<.  << endl <<  ^.<  << endl;       cout << 1 <<     << 3;     }     if (n == 5) {       cout <<  >...v  << endl            <<  v.<..  << endl            <<  ..^..  << endl            <<  >....  << endl            <<  ..^.<  << endl;       cout << 1 <<     << 1;     }     if (n == 100) {       cout <<  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.>.>.>.>.>.>.>.>.>                 .>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.v             << endl;       for (int i = 0; i < 49; i++) {         cout <<  ^v.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<<<<<<<<<                   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<               << endl;         cout <<  ^>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.>.>.>.>.>.>.>.>                   .>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.>.v               << endl;       }       cout <<  ^<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<.<<<<<<<<<<<                 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<             << endl;       cout << 1 <<     << 1;     }   }   