T, A, B = map(int, input().split()) if A <= T and B <= T: print('YES') else: print('NO') exit() x = 0 y = 0 t = 0 while t < T: dy = A - y dx = B - x dt = T - t t += 1 s = '' if dy > 0 or (dy == 0 and (dy - dt) % 2 == 0): s += '^' y += 1 elif dy < 0: s += 'v' y -= 1 if dx > 0 or (dx == 0 and (dx - dt) % 2 == 0): s += '>' x += 1 elif dx < 0: s += '<' x -= 1 if s == '': s += '>' x += 1 print(s, (y, x))