n, a, b, x, y = map(int, input().split()) H = list(map(int, input().split())) q = [] for h in H: q.append(-h) import heapq heapq.heapify(H) cnt = 0 for i in range(a): if q: v = heapq.heappop(q) v = -v if v > x: v -= x heapq.heappush(q, -v) cnt += 1 else: break else: break if not q: print('Yes') exit() s = 0 while q: v = heapq.heappop(q) v = -v s += v if s <= y*b+x*(a-cnt): print('Yes') else: print('No')