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