A,B,C,D = list(map(int,input().split())) P,Q,R,S,T = list(map(int,input().split())) a = A*P+B*Q+C*R+D*S print("Yes" if a <= T else "No")