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