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