T, A, B = map(int,raw_input().split(" ")) slant = min(A,B) short = slant + abs(A-B) if short > T: print "NO" else: print "YES" 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 "^"