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