#include int main(void) { int i, t, a, b, x=0, y=0, c=0, f=0; scanf("%d %d %d", &t, &a, &b); if( t < a || t < b || ( t==1 && !a && !b ) ) { printf("NO\n"); return 0; } printf("YES\n"); if( !c && t >= 2 ) { if( !a && !b) { printf("v\n"); x++; y--; c++; } else if( !b ) { printf("<^\n"); x--; y++; c++; } } while( y < a-1 && x < b-1) { printf("^>\n"); x++; y++; c++; } while( y < a-1 ) { printf("^\n"); y++; c++; } while( x < b-1 ) { printf(">\n"); x++; c++; } while( c < t-1 ) { if( !f ) { printf(">\n"); x++; c++; f = 1; } else if( f ) { printf("<\n"); x--; c++; f = 0; } } if( a == y+1 && b == x+1) { printf("^>\n"); x++; y++; c++; } else if( a == y+1 ) { printf("^\n"); y++; c++; } else if( b == x+1 ) { printf(">\n"); x++; c++; } return 0; }