T, A, B = map(int,raw_input().split(" ")) if min(A,B) + abs(A-B) > T: print "NO" else: T -= 1 if A + B <= 1: if T == 0: if A == B: print "NO" else: print "YES" print "^" if A > B else ">" quit() else: print "YES" if A == B: print " B: print "<" B += 1 else: print "v" A += 1 else: print "YES" if not A: A += 1; B -= 1 print ">v" elif not B: A -= 1; B += 1 print "<^" else: T += 1 slant = min(A,B) short = slant +abs(A-B) for i in range(slant-1): print ">^" if short != slant: d = "^" if A > B else ">" for i in range(short-slant): print d exc = T - short for i in range(exc/2): print "^" print "v" if exc % 2 == 0: print ">^" else: print ">" print "^"