#include #include #include using namespace std; #define RREP(i,s,e) for (i = e-1; i >= s; i--) #define rrep(i,n) RREP(i,0,n) #define REP(i,s,e) for (i = s; i < e; i++) #define rep(i,n) REP(i,0,n) #define INF 1e8 typedef long long ll; int main() { int t, a, b, x, y; cin >> t >> a >> b; if (t < max(a,b)) { cout << "NO" << endl; return 0; } cout << "YES" << endl; x = y = 0; while (t > 0) { if (t > b) { if (y < a) { cout << "^" << endl; y++; } else { cout << "v" << endl; y--; } } else { if (y < a) { cout << "^"; y++; } else if (y > a) { cout << "v"; y--; } cout << ">" << endl; x++; } t--; } return 0; }