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