#include using namespace std; int main(void){ int T,A,B; cin >> T >> A >> B; int x,y; if(T < A || T < B){ cout << "NO" << endl; }else{ cout << "YES" << endl; x = y = 0; int i = 0; while(T - i){ if((A - x) + (B - y) == T - i){ if(A - x > 0){ x++; cout << "^" << endl; }else{ y++; cout << ">" << endl; } }else if((A - x) + (B - y) > T - i){ cout << "^>" << endl; x++; y++; }else if((A - x) == (B - y) == T - i){ cout << "^>" << endl; x++; y++; }else{ if((A - x) + (B - y) == (T - i) - 1){ cout << "^<" << endl; x++; y--; }else{ cout << "<" << endl; y--; } } i++; } } }