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: if (cb - b) % 2 == 0: res += '>' else: res += '<' cb += 1 else: res = '' if ca < a: res += '^' else: if (ca - a) % 2 == 0: res += '^' else: res += 'v' if cb < b: res += '>' else: if (cb - b) % 2 == 0: res += '>' else: res += '<' print(res) ca += 1 cb += 1 else: for i in range(t): res = '' if i == 0: if aa == t: res += '^' ca += 1 if bb == t: res += '>' cb += 1 else: if ca < a: res += '^' else: if (ca - a) % 2 == 0: res += '^' else: res += 'v' if cb < b: res += '>' else: if (cb - b) % 2 == 0: res += '>' else: res += '<' ca += 1 cb += 1 print(res)