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