""" """ 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 ("Yes") else: print ("No")