a=(t,a,b=gets.split.map &:to_i s=[""]*((s=t-b)%2)+[?<,?>]*(s/2)+[?>]*b [:YES]+(0...t).map{|i|(it-(t-a)%2?"":"^v"[(i-a)%2])+s[i]} )rescue :NO puts a