from collections import deque n, a, b, x, y = map(int,input().split()) h = list(map(int,input().split())) h.sort() q1 = deque(h) q2 = deque() for i in range(a): now = 0 if not q1: now = q2.pop() if not q2: now = q1.pop() if q1[-1] > q2[-1]: now = q1.pop() else: now = q2.pop() now = max(now - a, 0) q2.appendleft(now) if sum(q1) + sum(q2) <= b * y: print('Yes') else: print('No')