a,b,c,d = list(map(int, input().split(' '))) p,q,r,s,t = list(map(int, input().split(' '))) if a*p+b*q+c*r+d*s <= t: print('Yes') else: print('No')