#include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifndef ONLINE_JUDGE //POJ # include # include # include # define mkt make_tuple # define empb emplace_back #endif #ifdef _LOCAL # include "for_local.h" #endif using namespace std; typedef unsigned int uint; typedef long long ll; typedef unsigned long long ull; #define repi(_I, _B, _E) for(int _I = (_B); (_I) < (_E); ++ (_I)) #define rep(_I, _N) for(int _I = 0; (_I) < (_N); ++ (_I)) #define mkp make_pair #define all(_X) (_X).begin(), (_X).end() int t, a, b; signed main() { cin >> t >> a >> b; int s = min(a, b); int u = t - max(a, b); int c = u / 4; int d = u % 4; if ( d == 1 ) { --s; --u; c = u / 4; d = u % 4; } if ( s >= 0 && u >= 0 ) { cout << "YES" << endl; rep(_, s) { cout << "^>" << endl; } rep(_, a - s) { cout << ">" << endl; } rep(_, b - s) { cout << "^" << endl; } rep(_, c) { cout << "<" << endl << "v" << endl << ">" << endl << "^" << endl; } switch ( d ) { case 0: break; case 2: cout << "<" << endl << ">" << endl; break; case 3: cout << "<" << endl << ">v" << endl << "^" << endl; break; } } else { cout << "NO" << endl; } return 0; }