t, a, b = map(int, input().split()) if a > t or b > t: print("NO") exit() print("YES") aa = t - (t - a) % 2 bb = t - (t - b) % 2 ca, cb = 0, 0 if aa < t and bb < t: for i in range(t): if i == 0: print('^') ca += 1 elif i == t - 1: if cb < b: print('>') else: print('<') cb += 1 else: res = '' if ca <= a: res += '^' else: res += 'v' if cb <= b: res += '>' else: res += '<' print(res) ca += 1 cb += 1 else: for i in range(t): res = '' if i == 0: if a == t: res += '^' ca += 1 if b == t: res += '>' cb += 1 else: if ca <= a: res += '^' else: res += 'v' if cb <= b: res += '>' else: res += '<' ca += 1 cb += 1 print(res)