A,B,C,D=map(int, input().split()) P,Q,R,S,T=map(int, input().split()) total = A * P + B * Q + C * R + D * S print("Yes" if total <= T else "No")