t,a,b = gets.split.map(&:to_i) if a + b == 0 && t % 2 == 1 puts "NO" exit end u,r = (t + a) / 2,(t + b) / 2 d,l = u - a,r - b if d < 0 || l < 0 puts "NO" else puts "YES" t.times{|i| if u > 0 print '^' u -= 1 elsif d > 0 print 'v' d -= 1 else print '' end if t - i - 1 < l + r if r > 0 print '>' r -= 1 else print '<' l -= 1 end end print "\n" } end