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