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