#include #include using namespace std; int main(){ int t,a,b; cin >> t >> a >> b; if(max(a,b) > t || t == 1 && a == 0 && b == 0) cout << "NO" << endl; else{ cout << "YES" << endl; if(t - max(a,b) == 1){ t--; if(min(a,b) == a){ cout << '^' << endl; a--; }else{ cout << '>' << endl; b--; } } while(a && b){ cout << "^>" << endl; t--; a--; b--; } while(a){ cout << '^' << endl; t--; a--; } while(b){ cout << '>' << endl; t--; b--; } if(t & 1){ while(t){ cout << "^>" << endl << '<' << endl << 'v' << endl; t -= 3; } }else{ while(t){ cout << '>' << endl << '<' << endl; t -= 2; } } } }