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