#include #include using namespace std; #define REP(i,a,b) for(int i=a;i<(int)b;i++) #define rep(i,n) REP(i,0,n) int main() { int T, A, B; cin >> T >> A >> B; if(max(A,B) < T) { cout << "NO\n"; return 0; } cout << "YES\n"; int u = max(A,B)-T; rep(i, u-A) { cout << "^\n"; } rep(i, u-B) { cout << ">\n"; } rep(i, T) { cout << ">^\n"; } return 0; }