def fun(x, t): return "Yes" if x <= t else "No" [a, b, c, d], [p, q, r, s, t] = [map(int, input().split()) for _ in range(2)] print(fun(a * p + b * q + c * r + d * s, t))