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