n,a,b,x,y = map(int,input().split()) l = sorted(map(int,input().split()))[::-1] for i in range(a): for j ,k in enumerate(l): if k >= x: l[j] -= x break else: for j ,k in enumerate(l): l[j] -= x break l = [t for t in l if t > 0] for i in range(b): p = y*1 for j ,k in enumerate(l): if k >= p: l[j] -= p break else: l[j] = 0 p -= k l = [t for t in l if t > 0] if l == []: print('Yes') else: print('No')