#include #include #include #define REP(i,a,b) for(i=a;i> t >> b >> a; if(t < max(a,b)) cout << "NO" << endl; else if(t == 1 && a == 0 && b == 0) cout << "NO" << endl; else { cout << "YES" << endl; if(t-1 == max(a,b)) { if(a == 0) { cout << ">\n^<" << endl; b--; t -= 2; } else if(b == 0) { cout << "^\nv>" << endl; a--; t -= 2; } else { cout << "^" << endl; cout << ">" << endl; a--; b--; t -= 2; } } for(;t-max(a,b);) { cout << "^" << endl; cout << "v" << endl; t -= 2; } for(;min(a,b);) { cout << "^>" << endl; a--; b--; } if(a == 0) { for(;b;b--) cout << "^" << endl; } else{ for(;a;a--) cout << ">" << endl; } } return 0; }