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