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