t,a,b=map(int,raw_input().split()) m=max(a,b) if m>t: print"NO" exit() print"YES" v,w=a-1,b-1 x=y=0 while x!=v or y!=w: s="" if xv: s+="<" x-=1 if yw: s+="v" y-=1 print s t-=1 while t>0: if t==1: print"^>" t-=1 elif t==2: print">" print"^" t-=2 else: print">" print"<" t-=2