#include #include #include #include #include #include #include #include #define REP(i,k,n) for(int i=k;i P; int main() { int t,a,b; cin >> t >> a >> b; int res = min(a,b) + (max(a,b) - min(a,b)); if(res > t || t - res == 1) { cout << "NO" << endl; } else { cout << "YES" << endl; t -= res; rep(i,min(a,b)) { cout << ">^" << endl; } if(a > b) { rep(i,max(a,b) - min(a,b)) { cout << "^" << endl; } } else { rep(i,max(a,b) - min(a,b)) { cout << ">" << endl; } } while(t) { if(t == 3) { cout << ">^" << endl; cout << "<" << endl; cout << "v" << endl; t -= 3; } else { cout << ">" << endl; cout << "<" << endl; t -= 2; } } } return 0; }