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