import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int t = sc.nextInt(); int a = sc.nextInt(); int b = sc.nextInt(); int nowa = 0; int nowb = 0; int i; ArrayList list = new ArrayList(); for(i = 0; i < t-1; i++) { if(nowa == a-1 && nowb == b-1) break; if(nowa == a && nowb == b) break; StringBuilder sb = new StringBuilder(); if(nowa < a-1) { nowa++; sb.append("^"); } if(nowb < b-1) { nowb++; sb.append(">"); } list.add(sb.toString()); } if((nowa != a-1 && nowa != a) || (nowb != b-1 && nowb != b) ) { System.out.println("NO"); return; } System.out.println("YES"); for(int j = 0; j < list.size(); j++) { System.out.println(list.get(j)); } if(i == t-1) { StringBuilder sb = new StringBuilder(); if(nowa < a) { nowa++; sb.append("^"); } if(nowb < b) { nowb++; sb.append(">"); } System.out.println(sb.toString()); return; } i++; nowa++; if(nowa == a && nowb == b) { System.out.println("<"); } else { System.out.println("^"); } for(; i < t-1; i++) { if(nowa == a) { System.out.println("v>"); nowa = a-1; } else { System.out.println("^<"); nowa = a; } } if(nowa == a) { System.out.println(">"); } else { System.out.println("^"); } } }