T,A,B=map(int,input().split()) if T==1: if (A,B)==(1,0): print("YES") print("^") elif (A,B)==(0,1): print("YES") print(">") elif (A,B)==(1,1): print("YES") print("^>") else: print("NO") exit() if A>T or B>T: exit(print("NO")) X=["^"]*A while len(X)"]*B while len(Y)") if len(Y)==T-1: Y.insert(1,"") print("YES") for x,y in zip(X,Y): print(x+y)