def main(): a, b, c, d, = map(int, input().split()) p, q, r, s, t, = map(int, input().split()) ans = 'Yes' if a*p + b*q + c*r + d*s <= t else 'No' print(ans) main()