from sortedcontainers import SortedList N,A,B,X,Y = map(int,input().split()) H = list(map(int,input().split())) S = SortedList(H) while S and S[-1] >= X and A > 0: tmp = S[-1] S.pop(-1) if tmp > X: S.add(tmp - X) A -= 1 while S and B > 0: y = Y B -= 1 while S and y >= S[0]: y -= S[0] S.pop(0) if S: tmp = S[0] S.pop(0) S.add(tmp - y) if len(S) <= A: print("Yes") else: print("No")