#include #include using namespace std; int main(){ int t,a,b; cin >> t >> a >> b; if(max(a,b) > t) cout << "NO" << endl; else{ 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{ if(t == 1) cout << "NO" << endl; else{ while(t){ cout << "^>" << endl << '<' << endl << 'v' << endl; t -= 3; } } } } }