#include int main() { int t, p[2]; std::cin >> t >> p[0] >> p[1]; int hi = (p[0] > p[1])? 0:1; if(t < p[hi]) { std::cout << "NO" << std::endl; return 0; } std::cout << "YES" << std::endl; for(int i = 0; i < (p[hi ^ 1] - 1); i++) { std::cout << ">^" << std::endl; t--; } char s[2] = {0}; s[0] = (hi == 0)? '^':'>'; for(int i = 0; i < (p[hi] - p[hi ^ 1]); i++) { std::cout << s << std::endl; t--; } int i; for(i = 0; t > 1; i++) { std::cout << (((i % 2) == 0)? ">":"<") << std::endl; t--; } std::cout << (((i % 2) == 0)? ">^":"^") << std::endl; return 0; }