local t, a, b = io.read("*n", "*n", "*n") if t < a or t < b then print("NO") os.exit() end print("YES") local c = math.min(a, b) for i = 1, c do print("^>") end t = t - c a = a - c b = b - c if t == 0 then os.exit() end if a == 0 then if (t - b) % 2 == 1 then print("^>") print("v") b = b - 1 t = t - 2 end for i = 1, b do print(">") end t = t - b local ht = t / 2 for i = 1, ht do print(">") print("<") end else if (t - a) % 2 == 1 then print("^>") print("<") a = a - 1 t = t - 2 end for i = 1, a do print("^") end t = t - a local ht = t / 2 for i = 1, ht do print(">") print("<") end end