#include #include using namespace std; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); uint32_t A, B, C, D, P, Q, R, S, T; cin >> A >> B >> C >> D >> P >> Q >> R >> S >> T; if (A * P + B * Q + C * R + D * S <= T) cout << "Yes\n"; else cout << "No\n"; return 0; }