#include #include #include #include void fail() { std::cout << "NO\n"; std::exit(0); } void solve() { int t, a, b; std::cin >> t >> a >> b; std::vector xs(t, ""), ys(t, ""); { if (a > t) fail(); for (int i = 0; i < a; ++i) xs[i].push_back('>'); for (int i = a; i + 1 < t; i += 2) { xs[i].push_back('>'); xs[i + 1].push_back('<'); } std::reverse(xs.begin(), xs.end()); } { if (b > t) fail(); for (int i = 0; i < b; ++i) ys[i].push_back('^'); for (int i = b; i + 1 < t; i += 2) { ys[i].push_back('^'); ys[i + 1].push_back('v'); } } if (xs.front().empty() && ys.front().empty()) fail(); std::cout << "YES\n"; for (int i = 0; i < t; ++i) { std::cout << xs[i] << ys[i] << "\n"; } } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); solve(); return 0; }