#include #include #include #include #include #include using namespace std; int main() { int t, a, b; cin >> t >> a >> b; if (a > t || b > t || (t == 1 && a == 0 && b == 0)) { cout << "NO" << endl; return 0; } vector turn(t); for (int i = 0; i < a; i++) { turn[i] += "^"; } for (int i = 0; i < (t - a) / 2; i++) { turn[a + 2 * i] += "^"; turn[a + 2 * i + 1] += "v"; } for (int i = 0; i < b; i++) { turn[t - 1 - i] += ">"; } for (int i = 0; i < (t - b) / 2; i++) { turn[t - 1 - (b + 2 * i)] += ">"; turn[t - 1 - (b + 2 * i + 1)] += "<"; } cout << "YES" << endl; for (int i = 0; i < t; i++) { cout << turn[i] << endl; } return 0; }