o=(T,A,B=gets.split.map &:to_i b=[""]*((b=T-B)%2)+[?<,?>]*(b/2)+[?>]*B [:YES]+b.zip([?^]*A+[?^,?v]*((T-A)/2)+[""*(T+A+B-2)]).map{|y,x|x+y})rescue :NO puts o