T,A,B=map(int,input().split()) if A>T or B>T or (T==1 and A==B==0): print("NO") exit() print("YES") X=[] k=T-A for i in range(A): X.append("^") for i in range(k//2): X.append("^") X.append("v") Y=[] k=T-B for i in range(B): Y.append(">") for i in range(k//2): Y.append(">") Y.append("<") ANS=[""]*T for i in range(len(X)): ANS[i]+=X[i] for i in range(len(Y)): ANS[T-1-i]+=Y[i] for ans in ANS: print(ans)