T, A, B = map(int, input().split()) if T < A or T < B: print('NO') exit() print('YES') cnt = 0 Y = ['^'] * A X = ['>'] * B Y.extend(['^', 'v'] * ((T - A) // 2)) if (T - A) % 2 == 1: Y.append(' ') if (T - B) % 2 == 1: X.append(' ') cnt = 1 X.extend(['>', '<'] * ((T - B) // 2)) for t in range(T): print(Y[t]+X[t])