A, B, C, D = map(int, input().split())
P, Q, R, S, T = map(int, input().split())

time = 0
time += P*A
time += Q*B
time += R*C
time += S*D

if time <= T:
    print("Yes")
else:
    print("No")