dh = {1:"^", -1:"v"} dv = {1:">", -1:"<"} T, A, B = map(int,raw_input().split(" ")) absA = abs(A) absB = abs(B) slant = min(absA,absB) short = slant + abs(absA-absB) if short > T: print "NO" else: print "YES" hor = A / absA ver = B / absB if short == slant: for i in range(slant-1): print dh[hor]+dv[ver] for i in range((T - short) % 2): print "^" print "v" if (T - short) % 2 == 0: print dh[hor]+dv[ver] else: print dh[hor] print dv[ver] else: for i in range(slant): print dh[hor]+dv[ver] if absA > absB: for i in range(short-slant-1): print dh[hor] else: for i in range(short-slant-1): print dh[ver] for i in range((T - short) % 2): print "^" print "v" if (T - short) % 2 == 0: print dh[hor] if absA > absB else dh[ver] else: if absA > absB: print dh[ver] print dh[hor]+dh[ver*(-1)] else: print dh[hor] print dh[ver]+dh[hor*(-1)]