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